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

snort.init

index 779b753150b0deb238f356e6847bd2d233a10007..c8d33d8a8d4a870229e7ac9792f3219e2f0a71d1 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 snort
                exit 1
This page took 0.046339 seconds and 4 git commands to generate.