From 0779f5736628852c1b3e361b37712365be264e80 Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 15 Aug 2011 10:10:57 +0200 Subject: load static arp entries from ethers file (#696788) --- rc.d/init.d/network | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rc.d') diff --git a/rc.d/init.d/network b/rc.d/init.d/network index 5690781e..89be5d8a 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -136,6 +136,10 @@ case "$1" in /sbin/route add -$args done fi + # Add non interface-specific static arp entries. + if [ -f /etc/ethers ]; then + /sbin/arp -f /etc/ethers + fi # IPv6 hook (post IPv4 start) if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then -- cgit v1.2.1