aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-10-16 16:33:06 +0000
committerBill Nottingham <notting@redhat.com>2001-10-16 16:33:06 +0000
commit907c0a7aa8c3af95010d5282d75b7c23af5f5a24 (patch)
tree6533e587fac455f0323f6957bef3088fb20a9631 /sysconfig/network-scripts/ifup-post
parent81e2922b1705526a78d8a61d9a5ff76097403c9a (diff)
downloadinitscripts-907c0a7aa8c3af95010d5282d75b7c23af5f5a24.tar
initscripts-907c0a7aa8c3af95010d5282d75b7c23af5f5a24.tar.gz
initscripts-907c0a7aa8c3af95010d5282d75b7c23af5f5a24.tar.bz2
initscripts-907c0a7aa8c3af95010d5282d75b7c23af5f5a24.tar.xz
initscripts-907c0a7aa8c3af95010d5282d75b7c23af5f5a24.zip
don't run logger if /usr isn't mounted
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-xsysconfig/network-scripts/ifup-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 740c466b..86e69544 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -91,7 +91,7 @@ if [ "$FIREWALL_MODS" != "no" -a -n "$FWACTIVE" ]; then
for nameserver in $ns ; do
if ! ipchains -L input -n | grep -q $nameserver ; then
ipchains -I input -s $nameserver/32 53 -d 0/0 1025:65535 -p udp -j ACCEPT
- logger $"punching nameserver $nameserver through the firewall"
+ [ -x /usr/bin/logger ] && logger $"punching nameserver $nameserver through the firewall"
fi
done
fi