summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh')
-rw-r--r--os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh9
1 files changed, 8 insertions, 1 deletions
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..440dda12 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,11 @@ else
export theme_nosplash=1
fi
-[ ${theme_nosplash} -eq 0 ] && /bin/splashy boot 2>/dev/null
+if [ ${theme_nosplash} -eq 0 ]; then
+ # start splashy
+ /bin/splashy boot 2>/dev/null
+
+ # add splashy.stop (XX_theme) to runlevel scripts
+ echo 'D_INITSCRIPTS="${D_INITSCRIPTS} splashy.stop"' \
+ >> /etc/sysconfig/config
+fi