diff options
author | Jiri Popelka <jpopelka@redhat.com> | 2012-10-05 16:57:32 +0200 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-10-08 15:47:57 -0400 |
commit | 1d7446ccf9d2671857c5f554b2a0be484e95e640 (patch) | |
tree | 837708641db57ed3d6f8d270c14d256385d0210c /sysconfig/network-scripts/ifdown-post | |
parent | bf95e22c4164b82112d043169495a71d1bfa0068 (diff) | |
download | initscripts-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-x | sysconfig/network-scripts/ifdown-post | 2 |
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 |