summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ppp-linkup
Commit message (Collapse)AuthorAgeFilesLines
* Simplify a bit ppp-linkup syntaxRenato Botelho2014-08-201-36/+37
|
* Fix awk syntax, it fixes #3813Renato Botelho2014-08-201-4/+4
|
* Trigger rc.newwaipv6 as well from pppoe when it gets an inet6 configErmal2014-02-211-2/+2
|
* Do not call rc.newwanip when pppoe gets a v6 ip.Ermal2014-02-181-1/+2
|
* Improve sh syntax using ${} for all variablesRenato Botelho2013-08-151-29/+29
|
* Use the better -Fs modifies to pf to kill the states by interface. Also kill ↵Ermal2013-01-311-0/+1
| | | | both sides on an interface when -k needs to be used
* pfctl -b is gone just use std tools of pfctlErmal2013-01-301-1/+1
|
* Try a little harder to clear the states for the old PPP gatewayjim-p2012-09-261-0/+7
|
* Use awk instead of grep, this works on a v4 PPPoE connection for me. Need to ↵smos2012-06-181-8/+8
| | | | | | verify that it works for 3G too. Redmine ticket #2458
* Update the link script to parse the arguments 6 and 7 differently.smos2012-05-281-14/+16
| | | | | | | Previously mpd supplied the dns1 string as $6 and the IP as $7. It is now a single argument $6. Apparently this changed somewhere so parse the IP out of there into the correct nameserver file. Also fix the IPv6 string simultaneously Redmine ticket #2458 Might need MFC to RELENG_2_0
* Make sure we don't accidentaly clobber the v4 dns servers with empty fields ↵smos2012-05-201-13/+29
| | | | from v6
* Make the ppp-linkup script understand both address families.smos2012-05-141-4/+13
|
* Rather use -c to check for line count, we then dont have to deal with extra ↵Warren Baker2012-02-201-1/+1
| | | | whitespaces
* Use the new change to be less distuptiveErmal2011-07-251-4/+2
|
* Reorder instructions and do not reload dns if its not allowed from the dns ↵Ermal2011-05-061-6/+7
| | | | allow override setting.
* Ticket #1408. Honor the allow override settings even for ppp devices.Ermal2011-04-291-10/+13
|
* Ticket #943. Sleep 1 second to give dns time to reload.Ermal2011-01-031-0/+1
|
* Ticket #876. Actually the event to send is interface newip $ip rather ↵Ermal2010-09-151-1/+1
| | | | interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
* Reload dns and interface properly on dynamic types.Ermal2010-09-151-1/+3
|
* Ticket #876. Add the ip to the respective files on ppp linkup event so the ↵Ermal2010-09-091-1/+1
| | | | code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible.
* Use the new events mechanisms to dispatch events.Ermal2010-09-071-1/+1
|
* Delete previous route if present.Ermal2010-09-061-6/+2
|
* Don't need the rm -f statement when using > redirect to overwrite thegnhb2010-03-281-4/+2
| | | | file, and add the "then" to the if statements
* Be safer use the remote-ip address for adding route.Ermal2010-03-271-2/+2
|
* Explicitly set the exit status of the script to not make mpd fail.Ermal2010-03-271-0/+1
|
* Use full patch to command and fix route add command parameter is -iface and ↵Ermal2010-03-271-4/+4
| | | | not -if.
* Actually its dns2 for the second entry.Ermal2010-03-231-1/+1
|
* Resolve problems with dns server setup when allow override is set. Also add ↵Ermal2010-03-231-5/+8
| | | | static routes for all nameservers to be friendly with multiwan.
* Generate the {interface}up status file.Ermal Luçi2008-12-081-1/+1
|
* Fix issue reported on ticket #1825.Ermal Luçi2008-10-251-1/+1
|
* Actually apply fixes to the correct files.Ermal Luçi2008-10-131-5/+6
|
* Do not allow mpd to blockScott Ullrich2005-11-281-1/+1
|
* Recompile for FreeBSD 6Scott Ullrich2005-11-041-2/+1
|
* MFC 7196Scott Ullrich2005-10-271-1/+1
| | | | | | mpd blocks until ppp-linkup exits, background rc.newwanip as dyndns is tripping this up (it tries to connect out a pppoe connection that's blocking on this script). Tested-by: DungaBee, Hoba, and a few others.
* MFC 6871Scott Ullrich2005-10-161-0/+22
| | | | If WAN is pppoe, hold down boot until connection is established This will help anyone with PPPOE on WAN and DHCP on OPTx not get incorrect gateways assigned.
* Remove ppp-linkup, readding as non binary file.Scott Ullrich2005-10-161-21/+0
|
* Initial revisionScott Ullrich2004-11-071-0/+21
OpenPOWER on IntegriCloud