]> git.pld-linux.org Git - packages/ddt.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:
    ddt-client.init -> 1.5
    ddt-server.init -> 1.5

ddt-client.init
ddt-server.init

index 0f19ad37f935109bfd05b8e626b479b2f105c600..f56e90f16609e17f7ba8222d31d9512d63d334e4 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
                msg_network_down "Dynamic DNS daemon"
                exit 1
        fi
index 86e7113f2f93d52efef2ddcee37071fcd32135df..501c8d403e33edfb20536f73b2ffa6c9514d479f 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
                msg_network_down "Dynamic DNS Tools Server"
                exit 1
        fi
This page took 0.064603 seconds and 4 git commands to generate.