summaryrefslogtreecommitdiffstats
path: root/os-plugins
diff options
context:
space:
mode:
authorMichael Janczyk2008-02-16 00:41:42 +0100
committerMichael Janczyk2008-02-16 00:41:42 +0100
commit638bcfe11ddce1473e4f8567be060ba750eb1606 (patch)
tree012bb37fb48c595891f173607dc269d788038794 /os-plugins
parentadded D_SPLASHY variable to all systems, variable will be written in XX_theme... (diff)
downloadcore-638bcfe11ddce1473e4f8567be060ba750eb1606.tar.gz
core-638bcfe11ddce1473e4f8567be060ba750eb1606.tar.xz
core-638bcfe11ddce1473e4f8567be060ba750eb1606.zip
bugfix: ugly but it works now, i hope ;)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1548 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r--os-plugins/plugins/theme/XX_theme.sh1
-rw-r--r--os-plugins/plugins/theme/init-hooks/05-have-kernelvars/theme.sh6
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