aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-post
diff options
context:
space:
mode:
authorDavid Kaspar [Dee'Kej] <dkaspar@redhat.com>2017-10-31 12:14:30 +0100
committerDee'Kej <deekej@linuxmail.org>2017-10-31 12:16:43 +0100
commit9e48c7ad6fae91a333d0b0a39cffee14a3130f2c (patch)
treede694533e5fe3b46a24350c255a51699f3704c7e /sysconfig/network-scripts/ifdown-post
parentee33104d73ae642b1507957a424226b03ea43da6 (diff)
downloadinitscripts-9e48c7ad6fae91a333d0b0a39cffee14a3130f2c.tar
initscripts-9e48c7ad6fae91a333d0b0a39cffee14a3130f2c.tar.gz
initscripts-9e48c7ad6fae91a333d0b0a39cffee14a3130f2c.tar.bz2
initscripts-9e48c7ad6fae91a333d0b0a39cffee14a3130f2c.tar.xz
initscripts-9e48c7ad6fae91a333d0b0a39cffee14a3130f2c.zip
network-scripts: forward DBus calls to /dev/null
Diffstat (limited to 'sysconfig/network-scripts/ifdown-post')
-rwxr-xr-xsysconfig/network-scripts/ifdown-post3
1 files changed, 2 insertions, 1 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