aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
diff options
context:
space:
mode:
authorJiri Popelka <jpopelka@redhat.com>2012-10-05 16:57:32 +0200
committerBill Nottingham <notting@redhat.com>2012-10-08 15:47:57 -0400
commit1d7446ccf9d2671857c5f554b2a0be484e95e640 (patch)
tree837708641db57ed3d6f8d270c14d256385d0210c /sysconfig/network-scripts/ifdown-post
parentbf95e22c4164b82112d043169495a71d1bfa0068 (diff)
downloadinitscripts-1d7446ccf9d2671857c5f554b2a0be484e95e640.tar
initscripts-1d7446ccf9d2671857c5f554b2a0be484e95e640.tar.gz
initscripts-1d7446ccf9d2671857c5f554b2a0be484e95e640.tar.bz2
initscripts-1d7446ccf9d2671857c5f554b2a0be484e95e640.tar.xz
initscripts-1d7446ccf9d2671857c5f554b2a0be484e95e640.zip
Fix calling of firewall-cmd in ifup-post/ifdown-post.
firewall-cmd has been using combined longopts since 0.2.6
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post
index 68354dea..bcf47654 100755
--- a/sysconfig/network-scripts/ifdown-post
+++ b/sysconfig/network-scripts/ifdown-post
@@ -48,7 +48,7 @@ fi
# Inform firewall
if [ -x /usr/bin/firewall-cmd -a "${REALDEVICE}" != "lo" ]; then
- /usr/bin/firewall-cmd --remove --interface="${DEVICE}" > /dev/null 2>&1
+ /usr/bin/firewall-cmd --remove-interface="${DEVICE}" > /dev/null 2>&1
fi
# Notify programs that have requested notification