summaryrefslogtreecommitdiffstats
path: root/initramfs/initrd-stuff/bin/servconfig
diff options
context:
space:
mode:
authorMichael Janczyk2007-09-28 17:17:43 +0200
committerMichael Janczyk2007-09-28 17:17:43 +0200
commit5a8a41336b323a8b6fa4e4d3cb3ff1d62b359c6f (patch)
tree81549281cd4db240dd42b14dceafe298a6d3719a /initramfs/initrd-stuff/bin/servconfig
parentReorganized LSM Webinterface (diff)
downloadcore-5a8a41336b323a8b6fa4e4d3cb3ff1d62b359c6f.tar.gz
core-5a8a41336b323a8b6fa4e4d3cb3ff1d62b359c6f.tar.xz
core-5a8a41336b323a8b6fa4e4d3cb3ff1d62b359c6f.zip
Splashy optimization + splashy exit through boot initial script splashy.stop. TODO: Splashy shutdown
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1354 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/initrd-stuff/bin/servconfig')
-rwxr-xr-xinitramfs/initrd-stuff/bin/servconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/initramfs/initrd-stuff/bin/servconfig b/initramfs/initrd-stuff/bin/servconfig
index 277e482b..c8f191ff 100755
--- a/initramfs/initrd-stuff/bin/servconfig
+++ b/initramfs/initrd-stuff/bin/servconfig
@@ -190,6 +190,15 @@ test -n "$domain_name_servers" && {
# initial boot scripts
# delete and create runlevel links for initial booting (SuSE, Debian, Ubuntu,
# Fedora, ...)
+# splashy stuff
+if [ ${DEBUGLEVEL} = 0 -a ${nosplash} = 0 ]; then
+ D_INITSCRIPTS="${D_INITSCRIPTS} splashy.stop"
+ d_mkrlscript init splashy.stop "Stopping Splashy ..."
+ echo -e "\t/var/lib/openslx/bin/splashy_update exit 2>/dev/null
+ \tkillall -9 splashy" >>/mnt/etc/${D_INITDIR}/splashy.stop
+ d_mkrlscript close splashy.stop ""
+fi
+
initial_boot
#############################################################################