diff options
author | Dirk von Suchodoletz | 2007-09-29 23:58:46 +0200 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-09-29 23:58:46 +0200 |
commit | 8db20441ce36c6ede89e00e8695aebe5e7ae4bd6 (patch) | |
tree | 83a74540e3ab7d010d2dd82697a2cd41289a0afe /initramfs | |
parent | too fast ... (diff) | |
download | core-8db20441ce36c6ede89e00e8695aebe5e7ae4bd6.tar.gz core-8db20441ce36c6ede89e00e8695aebe5e7ae4bd6.tar.xz core-8db20441ce36c6ede89e00e8695aebe5e7ae4bd6.zip |
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
Diffstat (limited to 'initramfs')
-rwxr-xr-x | initramfs/initrd-stuff/init | 8 |
1 files changed, 6 insertions, 2 deletions
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 |