aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-08-13 20:52:15 +0000
committerBill Nottingham <notting@redhat.com>2002-08-13 20:52:15 +0000
commit12f6c1622a2646d1a5c0972d2a1331e5fc87d3da (patch)
treedce6c227e748c791b11eccae166b42c07da47f84
parent37ca82a58e629d9cde638603e9808fec4a1b19af (diff)
downloadinitscripts-12f6c1622a2646d1a5c0972d2a1331e5fc87d3da.tar
initscripts-12f6c1622a2646d1a5c0972d2a1331e5fc87d3da.tar.gz
initscripts-12f6c1622a2646d1a5c0972d2a1331e5fc87d3da.tar.bz2
initscripts-12f6c1622a2646d1a5c0972d2a1331e5fc87d3da.tar.xz
initscripts-12f6c1622a2646d1a5c0972d2a1331e5fc87d3da.zip
look at the right file (#68368)
-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 da1ab88c..95afdafa 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -82,7 +82,7 @@ if [ "$PEERDNS" != "no" -o -n "$RESOLV_MODS" -a "$RESOLV_MODS" != "no" ]; then
fi
fi
-if [ "$FIREWALL_MODS" != "no" -a -f /etc/sysconfig/ipchains ] && \
+if [ "$FIREWALL_MODS" != "no" -a -f /etc/sysconfig/iptables ] && \
iptables -L -n 2>/dev/null | grep -q RH-Lokkit-0-50-INPUT ; then
ns=`awk '/^nameserver / { print $2 }' /etc/resolv.conf`
if [ -n "$ns" ]; then