]> git.pld-linux.org Git - packages/autofs.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:
    autofs.init -> 1.22

autofs.init

index 331420c2c0e385d1098dce6369ea639ea56b46a4..97c7ac43746fbe17fbbe57ffd9cbc1f08dd3bb36 100644 (file)
@@ -24,7 +24,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 automounter
                exit 1
This page took 0.045307 seconds and 4 git commands to generate.