Revision b7d56b64
Added by Ermal LUÇI about 14 years ago
etc/rc.linkup | ||
---|---|---|
45 | 45 |
$iface = get_real_interface($iface); |
46 | 46 |
interfaces_bring_up($iface); |
47 | 47 |
exec("/usr/sbin/arp -d -i {$iface} -a"); |
48 |
if ($argument2 == "start" || $argument2 == "up") |
|
49 |
send_event("interface newip {$iface}"); |
|
48 | 50 |
} else { |
49 | 51 |
switch ($argument2) { |
50 | 52 |
case "stop": |
Also available in: Unified diff
Fixes #1508. When an interface is configured as static and an up event comes manually trigger rc.newwanip so gateway and other services get restarted properly.