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 <>
parent 0e730c14
if [ -n "$WRS_VERBOSE" ]; then
set -x;
SH_X="sh -x"
# 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
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