diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2017-10-31 12:14:30 +0100 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-10-31 12:27:31 +0100 |
commit | 40eb870afeb4c984e1b9035100e65acb03812ac0 (patch) | |
tree | a1720d9bda11a85f5999d98dab0d957aab1e3d58 /sysconfig | |
parent | e30b3c095221ebec965e9c78a78f694b6a7a3aa4 (diff) | |
download | initscripts-40eb870afeb4c984e1b9035100e65acb03812ac0.tar initscripts-40eb870afeb4c984e1b9035100e65acb03812ac0.tar.gz initscripts-40eb870afeb4c984e1b9035100e65acb03812ac0.tar.bz2 initscripts-40eb870afeb4c984e1b9035100e65acb03812ac0.tar.xz initscripts-40eb870afeb4c984e1b9035100e65acb03812ac0.zip |
network-scripts: forward DBus calls to /dev/null
Diffstat (limited to 'sysconfig')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-post | 3 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 3 |
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 |