diff options
author | P. J. McDermott <pj@pehjota.net> | 2014-06-03 15:47:43 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2014-06-03 15:47:43 (EDT) |
commit | c0f127f5becdd94e65f51b433f103594780a833f (patch) | |
tree | 8036a3a466be9d8f3282a0e2cb7d89989f7814c7 | |
parent | de70b18ddb217eb2b59b4e18ba28d2c6add174b9 (diff) |
/etc/rc.common: Make policy disable all actions.
-rw-r--r-- | src.etc/rc.common | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src.etc/rc.common b/src.etc/rc.common index 39ea3c2..7bf1917 100644 --- a/src.etc/rc.common +++ b/src.etc/rc.common @@ -37,7 +37,7 @@ main() fi action="${2:-<unknown>}" if [ "x${ALL_CMDS#* ${action} }" != "x${ALL_CMDS}" ]; then - if [ "x${action}" = 'xstart' ] && [ -f /etc/rc.policy ]; then + if [ -f /etc/rc.policy ]; then [ "x$(cat /etc/rc.policy)" = 'xdisabled' ] && return 0 fi ${action} |