From 5e09bdb4e204bed8635629b6812509bb03b7d59b Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 22 Aug 2013 16:34:05 +0200 Subject: [rootfs-stage31] start plymouth later --- remote/rootfs/rootfs-stage31/data/init | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'remote') diff --git a/remote/rootfs/rootfs-stage31/data/init b/remote/rootfs/rootfs-stage31/data/init index a75caab0..21c7a1bc 100755 --- a/remote/rootfs/rootfs-stage31/data/init +++ b/remote/rootfs/rootfs-stage31/data/init @@ -69,22 +69,24 @@ for opts in ${KCL}; do done # suppress kernel output if DEBUG is not set -[ "$DEBUG" -ge 1 ] && echo "0" >/proc/sys/kernel/printk || echo "4 4 1 7" >/proc/sys/kernel/printk +[ $DEBUG -ge 1 ] && echo "0" >/proc/sys/kernel/printk || echo "4 4 1 7" >/proc/sys/kernel/printk -# start plymouth if activated -if [ "x$SPLASH" == "x1" -a "$DEBUG" -lt 1 ]; then - echo "Starting plymouth..." - plymouthd && plymouth show-splash -fi - -[ $DEBUG -ge 4 ] && drop_shell "Requested Debug Shell: before network." +[ $DEBUG -ge 5 ] && drop_shell "Requested Debug Shell: before network." . "/bin/setup_network" || drop_shell "Error setting up network" -[ $DEBUG -ge 3 ] && drop_shell "Requested Debug Shell: after network/before configuring." +[ $DEBUG -ge 4 ] && drop_shell "Requested Debug Shell: after network/before configuring." . "/bin/activate_sysconfig" || drop_shell "Could not source /bin/activate_sysconfig" +[ $DEBUG -ge 3 ] && drop_shell "Requested Debug Shell: after network/before configuring." + +# start plymouth if activated +if [ "x$SPLASH" == "x1" -a "$DEBUG" -lt 1 ]; then + echo "Starting plymouth..." + plymouthd && plymouth show-splash +fi + [ $DEBUG -ge 2 ] && drop_shell "Requested Debug Shell: after configuration/before stage32." . "/bin/setup_stage32" || drop_shell "Problem setting up stage3.2" -- cgit v1.2.3-55-g7522