From 412bf6ef92ed983bb1b2cb6a34980d4d46852a05 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 10 Feb 2008 18:46:57 +0000 Subject: * check for /bin/splashy before we try to invoke it, avoids error when theme-plugin is active, but theme::splashy is empty git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1533 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh b/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh index e1f2b31d..e2f8f089 100644 --- a/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh +++ b/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh @@ -2,7 +2,8 @@ # only activate with kernel option quiet and no debuglevel if grep -E "(VESA|VGA)" /proc/fb > /dev/null 2>&1 \ && grep -qi " quiet " /proc/cmdline > /dev/null 2>&1 \ - && [ $DEBUGLEVEL -eq 0 ] ; then + && [ $DEBUGLEVEL -eq 0 ] \ + && [ -e /bin/splashy ] ; then export theme_nosplash=0 else export theme_nosplash=1 -- cgit v1.2.3-55-g7522