]> git.pld-linux.org Git - packages/courier-imap.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:
    courier-imap-authdaemon.init -> 1.9
    courier-imap-pop3.init -> 1.9
    courier-imap.init -> 1.13

courier-imap-authdaemon.init
courier-imap-pop3.init
courier-imap.init

index d3c33ec65945611e7e3f6558262ad19aa125dfe4..4bfec3ba8cedaf10edba4be60fa3ebb7d5314cde 100644 (file)
@@ -16,7 +16,7 @@ METHOD="plain"
 
 # 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 "Courier IMAP - Authdaemon"
                exit 1
        fi
index bdefc7e8437106e0c1fec0df28676cfdea581d00..4f6538f75196626beed055fee5ca5b9b196e1e1c 100644 (file)
@@ -22,7 +22,7 @@ POP3DSSLSTART="no"
 
 # 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 "Courier POP3"
                exit 1
        fi
index bd811796694daca0eddd76f51d93508fb220e208..b4c24eac075d728924e9bdd6f8e130eaf90e1826 100644 (file)
@@ -22,7 +22,7 @@ IMAPDSSLSTART="no"
 
 # 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 "Courier IMAP"
                exit 1
        fi
This page took 1.258585 seconds and 4 git commands to generate.