summaryrefslogtreecommitdiffstats
path: root/initramfs/stage3-stuff/bin/hwautocfg
diff options
context:
space:
mode:
authorDirk von Suchodoletz2010-08-13 19:25:17 +0200
committerDirk von Suchodoletz2010-08-13 19:25:17 +0200
commit8cc4988ba8c7cb8a3e0a57312926f030ef8ba07e (patch)
treeb88012529cf97d12059855e5845480e2246ebe5f /initramfs/stage3-stuff/bin/hwautocfg
parentRe-enabling traditional splashy via vesafb ... (for Ubuntu 10.04) (diff)
downloadcore-8cc4988ba8c7cb8a3e0a57312926f030ef8ba07e.tar.gz
core-8cc4988ba8c7cb8a3e0a57312926f030ef8ba07e.tar.xz
core-8cc4988ba8c7cb8a3e0a57312926f030ef8ba07e.zip
Variable used is not present at this moment, thus changed in hwautocfg.
Diffstat (limited to 'initramfs/stage3-stuff/bin/hwautocfg')
-rwxr-xr-xinitramfs/stage3-stuff/bin/hwautocfg2
1 files changed, 1 insertions, 1 deletions
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 \