aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-10-16 16:33:41 +0000
committerBill Nottingham <notting@redhat.com>2001-10-16 16:33:41 +0000
commitcc572943c5b25ff0f2129adbed6cf2fd419a6ef3 (patch)
tree58812be92b1e8264d96211fd7337b00e25021e7c /sysconfig/network-scripts
parentc5fd2ca096908941ee61d5d0ca5fc7e307ee3ff4 (diff)
downloadinitscripts-cc572943c5b25ff0f2129adbed6cf2fd419a6ef3.tar
initscripts-cc572943c5b25ff0f2129adbed6cf2fd419a6ef3.tar.gz
initscripts-cc572943c5b25ff0f2129adbed6cf2fd419a6ef3.tar.bz2
initscripts-cc572943c5b25ff0f2129adbed6cf2fd419a6ef3.tar.xz
initscripts-cc572943c5b25ff0f2129adbed6cf2fd419a6ef3.zip
don't run logger if /usr isn't mounted
Diffstat (limited to 'sysconfig/network-scripts')
-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 10a6fa16..2fa0f5fb 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -92,7 +92,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