diff options
author | Bill Nottingham <notting@redhat.com> | 2012-03-16 09:59:56 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2012-03-16 09:59:56 -0400 |
commit | 29a948d09bb453b9dab923f741f1672912e0eaac (patch) | |
tree | ad55b508825b082375758a15b360db0cb9110592 /sysconfig/network-scripts/ifup-post | |
parent | 8cdf582196e58f3dd7e78f68ac13b6e1f7c18bde (diff) | |
download | initscripts-29a948d09bb453b9dab923f741f1672912e0eaac.tar initscripts-29a948d09bb453b9dab923f741f1672912e0eaac.tar.gz initscripts-29a948d09bb453b9dab923f741f1672912e0eaac.tar.bz2 initscripts-29a948d09bb453b9dab923f741f1672912e0eaac.tar.xz initscripts-29a948d09bb453b9dab923f741f1672912e0eaac.zip |
Add quotes to device/zone in the firewalld support.
Diffstat (limited to 'sysconfig/network-scripts/ifup-post')
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post index fec96c88..1ebb9c21 100755 --- a/sysconfig/network-scripts/ifup-post +++ b/sysconfig/network-scripts/ifup-post @@ -1,4 +1,4 @@ -#!/bin/sh + cd /etc/sysconfig/network-scripts . ./network-functions @@ -95,7 +95,7 @@ fi # Inform firewall which network zone (empty means default) this interface belongs to if [ -x /usr/bin/firewall-cmd -a "${REALDEVICE}" != "lo" ]; then - /usr/bin/firewall-cmd --zone=${ZONE} --change --interface=${DEVICE} > /dev/null 2>&1 + /usr/bin/firewall-cmd --zone="${ZONE}" --change --interface="${DEVICE}" > /dev/null 2>&1 fi # Notify programs that have requested notification |