summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
Commit message (Collapse)AuthorAgeFilesLines
* Code style bits and pieces from etcPhil Davis2015-05-311-1/+1
|
* Code style for etc filesPhil Davis2015-02-251-43/+53
|
* Fix lineup of copyright linesPhil Davis2015-01-011-21/+21
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Do not restart unneeded services. Also triger configuration for the proper ↵Ermal LUÇI2014-12-181-1/+3
| | | | interface.
* Lock rc.linkup based on interface to avoid races in between up/down events ↵Ermal LUÇI2014-12-021-1/+4
| | | | which might create a loop. This is more a timing issue but better enforce serialization here. check_reload_status forces this but not between start and stop but just between similar events. Probably need to bring more inteligence there.
* use correct variable hereChris Buechler2014-11-271-1/+1
|
* Simplify code flow not functional change just aesthetics.Ermal LUÇI2014-11-271-42/+43
|
* Put a comment for the wierd code hereErmal LUÇI2014-11-271-0/+1
|
* Handle recovering of ppp types as pppoe/l2tp/pp2p when the parent comes up. ↵Ermal LUÇI2014-11-271-1/+17
| | | | It should solve the issues present before on pppoe not recovering on link loss especially when connected directly to modem.
* This is revrsed conversion. The linkup script should run after booting not ↵Ermal LUÇI2014-11-261-1/+1
| | | | during it. This should help with issues on ppp type links reported
* Actually rc.linkup needs the parent search for example on ppp type wans.Ermal LUÇI2014-11-261-1/+1
|
* Go through the same checks when called from command line and when called ↵Ermal LUÇI2014-11-261-12/+14
| | | | from fcgi.
* Silence this error during bootupErmal LUÇI2014-11-261-1/+2
|
* Rather than set the g['booting'] on globals provide a function to test for ↵Ermal LUÇI2014-11-261-2/+1
| | | | that doing the right checks
* Make this more readble and also do not trigger an interface_bring_up on a ↵Ermal LUÇI2014-11-261-5/+9
| | | | down event.
* Correct the variable name typo to allow rc.linkup to function properly.Ermal LUÇI2014-11-261-1/+1
|
* Ignore linkup/down events on disabled interfaces.Ermal LUÇI2014-11-251-0/+5
|
* Ignore empty interfaces and ovpn ones on linkup since they should not ↵Ermal LUÇI2014-11-241-5/+11
| | | | trigger this script actions
* Pass friendlyifname to handle_argument_group, not realifname. Fixes #3984. ↵Chris Buechler2014-11-051-4/+6
| | | | clean up some text while here.
* isset($_GET) seems to always evaluate to true, use something more specific. ↵Chris Buechler2014-11-051-1/+1
| | | | Fixes use of rc.linkup when run from CLI. Others likely fix similar circumstances, though maybe not ones that are used anywhere.
* Take care of the loops reported for OpenVPN in tap mode. Also fixes the ↵Ermal2014-04-121-1/+2
| | | | problems of tap disappearing from bridge if its a member.
* Make scripts able to react when called from FCGI with GET methodErmal2013-12-131-0/+5
|
* Correct typo on variable nameErmal2013-09-031-1/+1
|
* Enforce the checking of booting up for linkup eventsErmal2013-07-031-3/+1
|
* Pull code from the calling place rather than the interfaces.incErmal2013-05-071-0/+2
|
* Reload routes etc when rc.linkup happensPhil Davis2013-05-071-1/+1
| | | When a link comes up, call interface_configure with p2=true. This makes it run various extra routines such as system_routing_configure - which will put back the default route or other static routes that might have been removed when the link was down.
* Configure static arp inside interface_configure() since it removes all ↵Renato Botelho2013-04-111-1/+0
| | | | interface addresses and the static arps are removed together. It fixes #2939
* Properly tune rc.linkup for dual stackErmal2013-03-181-7/+12
|
* Make the script rc.linkuip compatible with ipv6 as well.Ermal2012-12-191-23/+24
|
* Move interfaces_staticarp_configure() to interfaces.inc where it really belongs.jim-p2011-06-291-1/+0
|
* Instead of deleting arp entries, reconfigure static arp. For interfaces ↵jim-p2011-06-291-5/+4
| | | | without static arp enabled, the net effect is the same (arp entries are already deleted as part of that function). Fixes #1628
* Fixes #1508. When an interface is configured as static and an up event comes ↵Ermal2011-05-191-0/+2
| | | | manually trigger rc.newwanip so gateway and other services get restarted properly.
* At least bring the interface up. Sometimes even though the linkup is ↵Ermal2011-01-261-0/+1
| | | | reported interfaces like em(4) do not come up.
* Ticket #846. Do not try to add an interface to the bridge during an event of ↵Ermal2010-08-301-1/+2
| | | | LINK_UP.
* Ticket #846. Do not reconfigure an 'none' configured interface.Ermal2010-08-301-1/+1
|
* 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
OpenPOWER on IntegriCloud