diff options
author | David Kaspar [Dee'Kej] <dkaspar@redhat.com> | 2017-11-08 17:25:24 +0100 |
---|---|---|
committer | Dee'Kej <deekej@linuxmail.org> | 2017-11-09 11:19:14 +0100 |
commit | 2343075df4b18b5fbd35d2fe5f99f16e59478b3c (patch) | |
tree | 94a4f2ab4d0d73efb9d64a002aeda6a905f736f7 /sysconfig/network-scripts | |
parent | 7fa374712f6da22f97bce84fff2e4cd535e9ef8d (diff) | |
download | initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar.gz initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar.bz2 initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.tar.xz initscripts-2343075df4b18b5fbd35d2fe5f99f16e59478b3c.zip |
network-functions: use POSIX forwarding instead of bash-ism
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-x | sysconfig/network-scripts/ifdown-post | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-eth | 2 | ||||
-rwxr-xr-x | sysconfig/network-scripts/ifup-post | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post index 229c9877..afafc0d5 100755 --- a/sysconfig/network-scripts/ifdown-post +++ b/sysconfig/network-scripts/ifdown-post @@ -59,7 +59,7 @@ if [ "${REALDEVICE}" != "lo" ]; then /org/fedoraproject/FirewallD1 \ org.fedoraproject.FirewallD1.zone.removeInterface \ string: "" string:"${DEVICE}" \ - &> /dev/null + > /dev/null 2>&1 fi # Notify programs that have requested notification diff --git a/sysconfig/network-scripts/ifup-eth b/sysconfig/network-scripts/ifup-eth index 76eedebd..a0988edb 100755 --- a/sysconfig/network-scripts/ifup-eth +++ b/sysconfig/network-scripts/ifup-eth @@ -345,7 +345,7 @@ if is_true "${DHCPV6C}" && [ -x /sbin/dhclient ]; then /org/fedoraproject/FirewallD1 \ org.fedoraproject.FirewallD1.zone.changeZoneOfInterface \ string:"${ZONE}" string:"${DEVICE}" \ - &> /dev/null + > /dev/null 2>&1 fi generate_config_file_name 6 diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post index bcca632e..f8a91add 100755 --- a/sysconfig/network-scripts/ifup-post +++ b/sysconfig/network-scripts/ifup-post @@ -138,7 +138,7 @@ if [ "${REALDEVICE}" != "lo" ]; then /org/fedoraproject/FirewallD1 \ org.fedoraproject.FirewallD1.zone.changeZoneOfInterface \ string:"${ZONE}" string:"${DEVICE}" \ - &> /dev/null + > /dev/null 2>&1 fi # Notify programs that have requested notification |