summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
Commit message (Collapse)AuthorAgeFilesLines
* partially fix linkup. ticket #656Chris Buechler2010-07-251-0/+6
|
* Fix booting checks. Part of ticket #53.jim-p2010-05-111-1/+2
|
* fix textChris Buechler2009-12-201-1/+1
|
* Decouple filter.inc from functions.inc. There is no need to process filter ↵Scott Ullrich2009-11-211-0/+2
| | | | functions most of the time. Include filter.inc where it is needed
* * Hide interfaces internals to other code and use the propper interfaces.Ermal Luçi2009-03-301-2/+2
| | | | | | | Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc... * Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml * Some other missed custom interface list building and substituing with propper get_configured_interface*() NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
* Remove blank newlineScott Ullrich2009-03-181-1/+2
|
* Do not ignore interface events even for pppoe/pptp it does no good.Ermal Luçi2009-03-011-14/+13
|
* Use correct variableErmal Luçi2009-02-281-1/+1
|
* Remove redundant checkSeth Mos2008-11-101-11/+0
|
* Be smarter parsing the command line before passing it into ↵Seth Mos2008-11-101-5/+21
| | | | | | handle_argument_group. This prevents bogus events being logged when (dis)connecting a cable
* Bring order and simplify logic.Ermal Luçi2008-10-191-56/+50
|
* * Remove bigpond support from backend.Ermal Luçi2008-10-061-1/+1
| | | | | * Use killbypid instead of sigkillbypid SIGUSR2 is not doing what is expected. * Actually start pppoe/pptp when the routing is called for this.
* Rename interfaces_wan_configure to interface_configure now that it is used ↵Ermal Luçi2008-09-091-1/+1
| | | | for all assigned interface configuration.
* Merge lan configuration to the interfaces_wan.php page wich does the ↵Ermal Luçi2008-09-071-18/+6
| | | | | | configuration of all other assigned interfaces.
* * Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHINGErmal Luçi2008-07-141-2/+2
| | | | | | | * Much improved rule generation speed * Many bug fixing in general of the interface handling NOTE: this is only half part of the changes the other half will come after
* Continue interface improvements.Ermal Luçi2008-06-211-4/+3
|
* Do not reconfigure on pptp interfaces.Seth Mos2007-10-091-2/+3
|
* Check if interface is passed along, otherwise returnSeth Mos2007-10-091-0/+4
|
* Switch on correct argument variableSeth Mos2007-10-091-5/+8
| | | | | Clear arp cache per interface instead of all Clear arp cache for staticly configured interfaces
* Do not handle blank interface names. Ticket #1461Scott Ullrich2007-10-051-1/+3
|
* $config needs to be a global. Someone needs a pointy-hat!Scott Ullrich2007-04-291-1/+2
|
* Use $_SERVER['argvc'] and $_SERVER['argv'][$x]. This fixes the linkup ↵Scott Ullrich2007-04-291-4/+4
| | | | issues (hotplug)
* rc.linkup is a event queue of sorts. It needs to to loop through all ↵Scott Ullrich2007-03-121-53/+51
| | | | arguments and process them in the order that they where received in.
* * Show arguments being passed * Remove argument == 2 check, there could be ↵Scott Ullrich2007-03-121-3/+0
| | | | 4, or 6, or 8, etc.
* Remove logging helper entriesScott Ullrich2007-03-091-0/+4
|
* Remove logging helper entriesScott Ullrich2007-03-091-6/+0
|
* Link up patch submitted by billm.Scott Dale2007-02-141-59/+55
|
* Do not loop foreverScott Ullrich2007-02-061-2/+4
|
* Read in argspassedScott Ullrich2007-02-061-0/+1
|
* Simply note the arguments passed to rc.linkup instead of exiting.Scott Ullrich2007-02-061-5/+1
|
* Do not process the same events twice. A nic may be stopped and restarted ↵Scott Ullrich2007-02-061-2/+2
| | | | but we do not want to start or stop twice.
* Do not process nics twice.Scott Ullrich2007-02-061-0/+6
|
* Output args passed so that we can get a better idea of what is happening.Scott Ullrich2007-02-061-1/+2
|
* Log the interface number / opt that we are running dhclient on optional ↵Scott Ullrich2007-02-021-1/+1
| | | | interfaces
* Do not newline on syslog itemsScott Ullrich2007-02-021-1/+1
|
* Note when arguments are passed incorrectly to rc.linkupScott Ullrich2007-02-021-1/+2
|
* Instead of echoing out the value where nobody will see it, send it to ↵Scott Ullrich2007-02-021-9/+9
| | | | log_error() so we can ensure the values are correct and aide in debugging this dhclient issue.
* Woops, set $int before calling!Scott Ullrich2006-05-191-2/+2
| | | | Pointy-hat-to: me
* Do not pass opt1, pass 1 instead.Scott Ullrich2006-05-191-1/+3
| | | | | | This fixes dhclient on optional interfaces. Ticket #970
* Backout last commitScott Ullrich2006-03-131-2/+0
|
* Move /tmp/rc.linkup unlink operation into rc.linkupScott Ullrich2006-03-131-1/+4
|
* Transfer rc.linkup over to devdScott Ullrich2006-03-131-43/+52
|
* MFC 8080Scott Ullrich2005-11-271-41/+47
| | | | | * Do not process hotplug events from pppoe * Cleanup kill by pid function, accept a real pid (dhclient depends on this)
* Only exit linkup when interface is not a dynamic type. Prior we where ↵Scott Ullrich2005-11-251-1/+8
| | | | exiting only if it was DHCP which would bypass linkup events for PPPoE, etc.
* Ignore hotplug event on non-dhcp interfacesScott Ullrich2005-11-181-0/+6
|
* Allow plugging and unplugging of ethernet interfaces (and wireless)Scott Ullrich2005-10-261-1/+0
|
* Handle ethernet hotplug events correctlyScott Ullrich2005-10-251-8/+14
|
* MFC 7172Scott Ullrich2005-10-251-0/+62
Add rc.linkup script which will be called from devd when starting or stopping a device
OpenPOWER on IntegriCloud