summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankry2003-07-03 21:01:51 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit5569e2e4f6daa9b513cfb57a31db1b56863548fb (patch)
tree4fae1711f38fa162cfd10fcdc1e6bddd002d7974
parent4859f22575a1d5d6d5ec5087b9fc94b80f8d51c6 (diff)
downloadportfwd-5569e2e4f6daa9b513cfb57a31db1b56863548fb.zip
portfwd-5569e2e4f6daa9b513cfb57a31db1b56863548fb.tar.gz
- allow some actions when network is down
Changed files: portfwd.init -> 1.5
-rw-r--r--portfwd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/portfwd.init b/portfwd.init
index 0bc783c..9393872 100644
--- a/portfwd.init
+++ b/portfwd.init
@@ -22,7 +22,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 portfwd
exit 1
fi