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

sockd.init

index ce181a6062da2973059a2af834b1f56932cdf12f..a4290da831e87aecde54711f5ab044288d6e7b1c 100644 (file)
@@ -21,7 +21,7 @@
 
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
 
 # 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 sockdd
                exit 1
                # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down sockdd
                exit 1
This page took 0.10827 seconds and 4 git commands to generate.