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

LPRng.init
lpd.init

index 63267562ecf5bd6cf8381a33edd68ab62581a70f..851473277ebc68ad31ab87d7c289d6a5a3675b2e 100644 (file)
@@ -23,7 +23,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 "$1" != stop -a "$1" != status ]; then
                msg_network_down LPRng
                exit 1
        fi
index a63c903db219684081c03846d39a74ec251c7c67..0aa9c561b7a89778f73d12004375f54f728b3838 100644 (file)
--- a/lpd.init
+++ b/lpd.init
@@ -23,7 +23,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
                msg_network_down Lpd
                exit 1
        fi
This page took 0.037581 seconds and 4 git commands to generate.