aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post3
-rwxr-xr-xsysconfig/network-scripts/ifup-post3
2 files changed, 4 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post
index 71eebf65..426dae3e 100755
--- a/sysconfig/network-scripts/ifdown-post
+++ b/sysconfig/network-scripts/ifdown-post
@@ -54,7 +54,8 @@ if [ "${REALDEVICE}" != "lo" ]; then
dbus-send --system --dest=org.fedoraproject.FirewallD1 \
/org/fedoraproject/FirewallD1 \
org.fedoraproject.FirewallD1.zone.removeInterface \
- string: "" string:"${DEVICE}"
+ string: "" string:"${DEVICE}" \
+ &> /dev/null
fi
# Notify programs that have requested notification
diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post
index 7c028546..41956e7e 100755
--- a/sysconfig/network-scripts/ifup-post
+++ b/sysconfig/network-scripts/ifup-post
@@ -110,7 +110,8 @@ if [ "${REALDEVICE}" != "lo" ]; then
dbus-send --system --dest=org.fedoraproject.FirewallD1 \
/org/fedoraproject/FirewallD1 \
org.fedoraproject.FirewallD1.zone.changeZoneOfInterface \
- string:"${ZONE}" string:"${DEVICE}"
+ string:"${ZONE}" string:"${DEVICE}" \
+ &> /dev/null
fi
# Notify programs that have requested notification