Ticket #846. Do not try to add an interface to the bridge during an event of LINK_UP.
Ticket #846. Do not reconfigure an 'none' configured interface.
partially fix linkup. ticket #656
Fix booting checks. Part of ticket #53.
fix text
Decouple filter.inc from functions.inc. There is no need to process filter functions most of the time. Include filter.inc where it is needed
Remove blank newline
Do not ignore interface events even for pppoe/pptp it does no good.
Use correct variable
Remove redundant check
Be smarter parsing the command line before passing it into handle_argument_group.This prevents bogus events being logged when (dis)connecting a cable
Bring order and simplify logic.
Rename interfaces_wan_configure to interface_configure now that it is used for all assigned interface configuration.
Merge lan configuration to the interfaces_wan.php page wich does the configuration of allother assigned interfaces.
NOTE: this is only half part of the changes the other half will come after
Continue interface improvements.
Do not reconfigure on pptp interfaces.
Check if interface is passed along, otherwise return
Switch on correct argument variableClear arp cache per interface instead of allClear arp cache for staticly configured interfaces
Do not handle blank interface names.
Ticket #1461
$config needs to be a global. Someone needs a pointy-hat!
Use $_SERVER['argvc'] and $_SERVER['argv'][$x]. This fixes the linkup issues (hotplug)
rc.linkup is a event queue of sorts. It needs to to loop through all arguments and process them in the order that they where received in.
Remove logging helper entries
Link up patch submitted by billm.
Do not loop forever
Read in argspassed
Simply note the arguments passed to rc.linkup instead of exiting.
Do not process the same events twice. A nic may be stopped and restarted but we do not want to start or stop twice.
Do not process nics twice.
Output args passed so that we can get a better idea of what is happening.
Log the interface number / opt that we are running dhclient on optional interfaces
Do not newline on syslog items
Note when arguments are passed incorrectly to rc.linkup
Instead of echoing out the value where nobody will see it, send it to log_error() so we can ensure the values are correct and aide in debugging this dhclient issue.
Woops, set $int before calling!
Pointy-hat-to: me
Do not pass opt1, pass 1 instead.
This fixes dhclient on optional interfaces.
Ticket #970
Backout last commit
Move /tmp/rc.linkup unlink operation into rc.linkup
Transfer rc.linkup over to devd
Only exit linkup when interface is not a dynamic type. Prior we where exiting only if it was DHCP which would bypass linkup events for PPPoE, etc.
Ignore hotplug event on non-dhcp interfaces
Allow plugging and unplugging of ethernet interfaces (and wireless)
Handle ethernet hotplug events correctly
MFC 7172Add rc.linkup script which will be called from devd when starting or stopping a device