From c0f127f5becdd94e65f51b433f103594780a833f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 03 Jun 2014 15:47:43 -0400 Subject: /etc/rc.common: Make policy disable all actions. --- 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:-}" 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} -- cgit v0.9.1