From 62de2c9ec233288b9f75fd46223b26989d75813c Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Thu, 2 Apr 2009 15:28:23 +0000 Subject: Bugfix: One space was removed so match did not work, now better check git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2789 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/xserver/XX_xserver.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'os-plugins') diff --git a/os-plugins/plugins/xserver/XX_xserver.sh b/os-plugins/plugins/xserver/XX_xserver.sh index 284d440f..b7f925ea 100644 --- a/os-plugins/plugins/xserver/XX_xserver.sh +++ b/os-plugins/plugins/xserver/XX_xserver.sh @@ -93,7 +93,8 @@ if [ -e /initramfs/plugin-conf/xserver.conf -a \ fi BUSID=$(grep -m1 -i " SysFS BusID: .*" /etc/hwinfo.gfxcard | \ awk -F':' '{print "PCI:"$3":"$4}' | sed -e 's,\.,:,g') - echo "${PLUGIN_ROOTFS}/usr/bin/aticonfig --initial" >> /mnt/etc/init.d/boot.slx + echo -e "\t${PLUGIN_ROOTFS}/usr/bin/aticonfig --initial &>/dev/null"\ + >> /mnt/etc/init.d/boot.slx ATI=1 fi elif $(grep -iq -m 1 'Module: nvidia' /etc/hwinfo.gfxcard) && \ @@ -209,7 +210,7 @@ EndSection' >> $xfc fi if [ -n "${BUSID}" ]; then - sed -e "s,^# BusID .*, BusID \"${BUSID}\",g" -i ${xfc} + sed -e "s,^#.*BusID .*, BusID \"${BUSID}\",g" -i ${xfc} fi # set nodeadkeys for special layouts -- cgit v1.2.3-55-g7522