diff options
author | Lukas Nykryn <lnykryn@redhat.com> | 2015-02-27 13:28:06 +0100 |
---|---|---|
committer | Lukas Nykryn <lnykryn@redhat.com> | 2015-02-27 13:35:53 +0100 |
commit | 8447253e512d98316c5ab9cbcfe335720163349b (patch) | |
tree | 7a1574250348f51990da2d3f96b6749dfe59b8e2 | |
parent | bfde26c1bb47b18270f511021a68a3dc481c042b (diff) | |
download | initscripts-8447253e512d98316c5ab9cbcfe335720163349b.tar initscripts-8447253e512d98316c5ab9cbcfe335720163349b.tar.gz initscripts-8447253e512d98316c5ab9cbcfe335720163349b.tar.bz2 initscripts-8447253e512d98316c5ab9cbcfe335720163349b.tar.xz initscripts-8447253e512d98316c5ab9cbcfe335720163349b.zip |
init.d/functions: rc.debug option to debug initscripts
-rw-r--r-- | rc.d/init.d/functions | 3 |
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 + |