summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Janczyk2009-04-02 17:28:23 +0200
committerMichael Janczyk2009-04-02 17:28:23 +0200
commit62de2c9ec233288b9f75fd46223b26989d75813c (patch)
tree642c78fff8b5a221bf1e610088bd982ad448a05a
parentBit of optimization for Ubuntu ... (diff)
downloadcore-62de2c9ec233288b9f75fd46223b26989d75813c.tar.gz
core-62de2c9ec233288b9f75fd46223b26989d75813c.tar.xz
core-62de2c9ec233288b9f75fd46223b26989d75813c.zip
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
-rw-r--r--os-plugins/plugins/xserver/XX_xserver.sh5
1 files changed, 3 insertions, 2 deletions
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