From 8cc4988ba8c7cb8a3e0a57312926f030ef8ba07e Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 13 Aug 2010 19:25:17 +0200 Subject: Variable used is not present at this moment, thus changed in hwautocfg. --- initramfs/stage3-stuff/bin/hwautocfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'initramfs/stage3-stuff/bin/hwautocfg') diff --git a/initramfs/stage3-stuff/bin/hwautocfg b/initramfs/stage3-stuff/bin/hwautocfg index 0165a455..210cae1c 100755 --- a/initramfs/stage3-stuff/bin/hwautocfg +++ b/initramfs/stage3-stuff/bin/hwautocfg @@ -30,7 +30,7 @@ echo "/sbin/mdev" >/proc/sys/kernel/hotplug modprobe -a ${MODPRV} usbhid hid-bright 2>/dev/null & # get information on the graphics adaptor if bootsplash or xserver plugins are # present and the new drm/kms infrastructure is present -if strinstr "vga=" "${KCMDLINE}"; then +if strinfile "vga=" /proc/cmdline; then ( modprobe vesafb fbcon 2>/dev/null hwinfo --gfxcard >/etc/hwinfo.gfxcard ) & elif [ -e /etc/init-hooks/00-started/xserver.sh -o \ -- cgit v1.2.3-55-g7522