summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/bootsplash/XX_bootsplash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/bootsplash/XX_bootsplash.sh')
-rw-r--r--os-plugins/plugins/bootsplash/XX_bootsplash.sh33
1 files changed, 16 insertions, 17 deletions
diff --git a/os-plugins/plugins/bootsplash/XX_bootsplash.sh b/os-plugins/plugins/bootsplash/XX_bootsplash.sh
index 4a27dafa..10a3abc2 100644
--- a/os-plugins/plugins/bootsplash/XX_bootsplash.sh
+++ b/os-plugins/plugins/bootsplash/XX_bootsplash.sh
@@ -6,21 +6,20 @@
. /etc/distro-functions
. /etc/sysconfig/config
if [ -e /initramfs/plugin-conf/bootsplash.conf ]; then
- . /initramfs/plugin-conf/bootsplash.conf
- if [ $bootsplash_active -ne 0 ]; then
- if [ ${no_bootsplash} -eq 0 ]; then
- # make the splashy_update binary available in stage4 ...
- testmkd /mnt/var/lib/openslx/bin
- cp -a /bin/splashy_update /mnt/var/lib/openslx/bin
-
- # ... and create a runlevelscript that will stop splashy somewhere near
- # the end of stage4
- d_mkrlscript init splashy.stop "Stopping Splashy ..."
- echo -e "\t/var/lib/openslx/bin/splashy_update exit 2>/dev/null \
- \n\ttype killall >/dev/null 2>&1 && killall -9 splashy \
- \n\trm -f /var/lib/openslx/bin/splashy_update 2>/dev/null" \
- >>/mnt/etc/${D_INITDIR}/splashy.stop
- d_mkrlscript close splashy.stop ""
- fi
- fi
+ . /initramfs/plugin-conf/bootsplash.conf
+ if [ $bootsplash_active -ne 0 ]; then
+ if [ ${no_bootsplash} -eq 0 ]; then
+ # make the splashy_update binary available in stage4 ...
+ testmkd /mnt/var/lib/openslx/bin
+ cp -a /bin/splashy_update /mnt/var/lib/openslx/bin
+ # ... and create a runlevelscript that will stop splashy somewhere near
+ # the end of stage4
+ d_mkrlscript init splashy.stop "Stopping Splashy ..."
+ echo -e "\t/var/lib/openslx/bin/splashy_update exit 2>/dev/null \
+ \n\ttype killall >/dev/null 2>&1 && killall -9 splashy \
+ \n\trm -f /var/lib/openslx/bin/splashy_update 2>/dev/null" \
+ >>/mnt/etc/${D_INITDIR}/splashy.stop
+ d_mkrlscript close splashy.stop ""
+ fi
+ fi
fi