From 8447253e512d98316c5ab9cbcfe335720163349b Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Fri, 27 Feb 2015 13:28:06 +0100 Subject: init.d/functions: rc.debug option to debug initscripts --- rc.d/init.d/functions | 3 +++ 1 file changed, 3 insertions(+) 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 + -- cgit v1.2.1