]> git.pld-linux.org Git - packages/eximstate.git/commitdiff
- allow some actions when network is down
authorankry <ankry@pld-linux.org>
Thu, 3 Jul 2003 21:01:49 +0000 (21:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eximstate.init -> 1.5
    eximstated.init -> 1.4

eximstate.init
eximstated.init

index 9b3075fa511e39c7d3951b3eb48ddb15b00953cb..7af026d404dd4c1f9ea0088249b8916cb3f8e76b 100644 (file)
@@ -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." <service>
                msg_network_down eximstate
                exit 1
index e18c910c9d198501cef5060f40463dbe1d462243..97d1aff9fcd0428153bbd45b44c0fed3426b2af1 100644 (file)
@@ -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." <service>
                msg_network_down eximstated
                exit 1
This page took 0.093452 seconds and 4 git commands to generate.