diff options
author | Ermal <eri@pfsense.org> | 2011-01-26 22:47:46 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-01-26 22:47:46 +0000 |
commit | a798fd3e7a8d24a4d25f46f9b67eeff47d69d12a (patch) | |
tree | 5ff7f41b70b21855868ca0469474424507d6ac25 /etc | |
parent | c3770c78c8c1533a201b9a7672869c5020824527 (diff) | |
download | pfsense-a798fd3e7a8d24a4d25f46f9b67eeff47d69d12a.zip pfsense-a798fd3e7a8d24a4d25f46f9b67eeff47d69d12a.tar.gz |
At least bring the interface up. Sometimes even though the linkup is reported interfaces like em(4) do not come up.
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.linkup | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 997228f..2e8bbcd 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -43,6 +43,7 @@ function handle_argument_group($iface, $argument2) { if (is_ipaddr($ipaddr) || empty($ipaddr)) { log_error("Hotplug event detected for {$iface} but ignoring since interface is configured with static IP ({$ipaddr})"); $iface = get_real_interface($iface); + interfaces_bring_up($iface); exec("/usr/sbin/arp -d -i {$iface} -a"); } else { switch ($argument2) { |