Commit 4f1fa2d6 authored by Alessandro Rubini's avatar Alessandro Rubini

userspace: /etc/init.d/rcS is optionally verbose

pass WRS_VERBOSE=y on the kernel command line to make it verbose.
No damaga done, but useful in checking the boot sequence.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 0e730c14
#!/bin/sh
if [ -n "$WRS_VERBOSE" ]; then
set -x;
SH_X="sh -x"
fi
# Start all init scripts in /etc/init.d
# executing them in numerical order.
......@@ -21,7 +24,7 @@ for i in /etc/init.d/S??* ;do
;;
*)
# No sh extension, so fork subprocess.
$i start
eval $SH_X $i start
;;
esac
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment