]> git.pld-linux.org Git - packages/pure-ftpd.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:
    pure-ftpd.init -> 1.8

pure-ftpd.init

index b9c175ae166390455958aea216b828a853891655..0bb4707cbe2090662356f9ffdc5f31af068152a6 100644 (file)
@@ -17,7 +17,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 pure-ftpd
                exit 1
This page took 1.030488 seconds and 4 git commands to generate.