From 638bcfe11ddce1473e4f8567be060ba750eb1606 Mon Sep 17 00:00:00 2001 From: Michael Janczyk Date: Fri, 15 Feb 2008 23:41:42 +0000 Subject: bugfix: ugly but it works now, i hope ;) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1548 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/theme/XX_theme.sh | 1 - os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/os-plugins/plugins/theme/XX_theme.sh b/os-plugins/plugins/theme/XX_theme.sh index 5cebc108..b7d84761 100644 --- a/os-plugins/plugins/theme/XX_theme.sh +++ b/os-plugins/plugins/theme/XX_theme.sh @@ -33,7 +33,6 @@ if [ -e /initramfs/plugin-conf/theme.conf ]; then \n\trm -f /var/lib/openslx/bin/splashy_update 2>/dev/null" \ >>/mnt/etc/${D_INITDIR}/splashy.stop d_mkrlscript close splashy.stop "" - D_SPLASHY=splashy.stop fi fi fi 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 e2f8f089..8fdec8d7 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 @@ -9,4 +9,8 @@ else export theme_nosplash=1 fi -[ ${theme_nosplash} -eq 0 ] && /bin/splashy boot 2>/dev/null +if [ ${theme_nosplash} -eq 0 ]; then + /bin/splashy boot 2>/dev/null + # add splashy.stop runlevel script + D_SPLASHY=splashy.stop +fi -- cgit v1.2.3-55-g7522