diff options
-rw-r--r-- | portfwd.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/portfwd.init b/portfwd.init index 0bc783c..9393872 100644 --- a/portfwd.init +++ b/portfwd.init @@ -22,7 +22,7 @@ # Check that networking is up. if is_yes "${NETWORKING}"; then - if [ ! -f /var/lock/subsys/network ]; then + if [ ! -f /var/lock/subsys/network -a != stop -a != status ]; then msg_network_down portfwd exit 1 fi |