diff options
| -rwxr-xr-x | remote/rootfs/rootfs-stage31/data/init | 20 |
1 files changed, 11 insertions, 9 deletions
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" |
