From 8db20441ce36c6ede89e00e8695aebe5e7ae4bd6 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Sat, 29 Sep 2007 21:58:46 +0000 Subject: Do not do splash stuff if kernel does not provide proper interface ... (to be tested :)) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1359 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/init | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'initramfs') diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init index b671ca42..6a4884fb 100755 --- a/initramfs/initrd-stuff/init +++ b/initramfs/initrd-stuff/init @@ -111,8 +111,12 @@ echo "noldap" > /tmp/ldap-done # standard path (.../tftpboot/client-config/ ...) file="yes" -# splashy stuff -export nosplash=0 +# splashy stuff seems to depend on /proc/fb with VESA!? +if cat /proc/fb |grep VESA > /dev/null 2>&1 ; then + export nosplash=0 +else + export nosplash=1 +fi # read kernel commandline read KCMDLINE < /proc/cmdline -- cgit v1.2.3-55-g7522