From: ankry Date: Thu, 3 Jul 2003 21:01:49 +0000 (+0000) Subject: - allow some actions when network is down X-Git-Tag: auto/ac/eximstate-1_0-2~4 X-Git-Url: http://git.pld-linux.org/?p=packages%2Feximstate.git;a=commitdiff_plain;h=7ee7700189ceb7ebad01ff2ee4448e2132f2019b - allow some actions when network is down Changed files: eximstate.init -> 1.5 eximstated.init -> 1.4 --- diff --git a/eximstate.init b/eximstate.init index 9b3075f..7af026d 100644 --- a/eximstate.init +++ b/eximstate.init @@ -18,7 +18,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 # nls "ERROR: Networking is down. %s can't be run." msg_network_down eximstate exit 1 diff --git a/eximstated.init b/eximstated.init index e18c910..97d1aff 100644 --- a/eximstated.init +++ b/eximstated.init @@ -18,7 +18,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 # nls "ERROR: Networking is down. %s can't be run." msg_network_down eximstated exit 1