aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2013-04-09 12:53:11 +0200
committerVáclav Pavlín <vpavlin@redhat.com>2013-04-09 12:53:11 +0200
commit47b1b79a5e8776b2100e8b55d7ab7be067e1bcd7 (patch)
treec0e0c5c18328916dceea83936ba85d1429213457
parentc82961615e76578f289516262846f41bc7641db0 (diff)
downloadinitscripts-47b1b79a5e8776b2100e8b55d7ab7be067e1bcd7.tar
initscripts-47b1b79a5e8776b2100e8b55d7ab7be067e1bcd7.tar.gz
initscripts-47b1b79a5e8776b2100e8b55d7ab7be067e1bcd7.tar.bz2
initscripts-47b1b79a5e8776b2100e8b55d7ab7be067e1bcd7.tar.xz
initscripts-47b1b79a5e8776b2100e8b55d7ab7be067e1bcd7.zip
Reload sysctl settings for vlans on ifup
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index dc9ff18a..3582d04e 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -129,6 +129,8 @@ if [ "${VLAN}" = "yes" ] && [ "$ISALIAS" = "no" ]; then
}
fi
fi
+
+ /usr/lib/systemd/systemd-sysctl --prefix "/proc/sys/net/ipv4/conf/${DEVICE}" --prefix "/proc/sys/net/ipv6/conf/${DEVICE}"
fi
if [ "${BOOTPROTO}" = "bootp" -o "${BOOTPROTO}" = "dhcp" ]; then