aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/functions
diff options
context:
space:
mode:
Diffstat (limited to 'rc.d/init.d/functions')
-rw-r--r--rc.d/init.d/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions
index 9f1c76f1..245cc3f5 100644
--- a/rc.d/init.d/functions
+++ b/rc.d/init.d/functions
@@ -595,3 +595,6 @@ if [ "$_use_systemctl" = "1" ]; then
exit $?
fi
fi
+
+strstr "$(cat /proc/cmdline)" "rc.debug" && set -x
+