summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* When removing a package delete its underlying FreeBSD pacakges.Ermal Luçi2010-02-031-0/+2
| | | | | | | | Correct checks for avioding as much as possible errors. Simplify logic in some cases. Remove package include files when uninstalling packages. NOTE: Some work is needed to have more error reporting. Espescially when failing to retrieve files or add them locally.
* Simplify recording of gateway coming form ppp configuration.Ermal Luçi2010-01-281-2/+2
|
* Do not break rc.newwanip by putting more information than requested in the file.Ermal Luçi2009-12-211-4/+4
|
* use correct gateway IP for PPPChris Buechler2009-12-211-1/+1
|
* Handle secondary DNS correctly for 3GScott Ullrich2009-10-261-2/+2
|
* Switch over to handling DNS from ppp.linkup allowing mulitple 3G cards to ↵Scott Ullrich2009-10-261-0/+16
| | | | coexist on the same box
* Add ppp endpoints IP as gatewayScott Ullrich2009-10-261-1/+1
|
* Add and use ppp-scriptScott Ullrich2009-10-261-0/+3
|
* Remove ftp-proxy/pftpx/ftpsesame references we handle all of this in kernel ↵Ermal Luçi2009-03-161-3/+0
| | | | now.(yay!)
* Correctly set old wan ipScott Ullrich2008-11-091-3/+4
|
* Set /tmp/rc.newwanip_oldipScott Ullrich2008-11-091-0/+1
|
* Remove bogus commands that adds a route to the new address pointing to dhcp.Ermal Luçi2008-08-121-1/+1
| | | | | | It seems uncertain either to be a typo of $new_ip_address and $old_ip_address my test show that either cases it does more harm than good. For now remove it altogether since it causes strange issues and makes ipsec tunnels not work on the interface with the new address.
* DHCP Renew does "too much" Ticket #1260Scott Ullrich2007-02-231-20/+27
|
* Nuke old and unused code which was commented out.Scott Ullrich2007-02-201-8/+0
|
* Bring back hostname option since it is not leading to the short write errorsScott Ullrich2007-02-201-9/+9
|
* Sprinkle debugging statements throughout to try and obtain a read of where ↵Scott Ullrich2007-02-201-6/+23
| | | | the dhclient process is going south.
* Somehow the HOSTNAME code will lead to short write errors under unusual ↵Scott Ullrich2007-02-191-9/+9
| | | | renew load. Comment out this code until we can figure out why this is happening. Found-by: GAndreone@imapro.com
* Do not set an exit status in dhclient-script.Scott Ullrich2006-11-301-2/+0
| | | | | | | | | From a post that I dug up from Brooks: Why on earth are you exiting with $1 as the status? This is almost certainly the problem. You should not exit from dhclient-exit-hooks at all since it occurs in the context of dhclient-script and this exit values is entirely bogus.
* back out recent change.Scott Ullrich2006-10-281-5/+6
|
* Woops, log an error to system logs when we restart check_reload_status from ↵Scott Ullrich2006-10-231-1/+1
| | | | dhclient-script instead of simply echoing out where someone may not even see it.
* If for any reason check_reload_status is not started when dhclient fires of ↵Scott Ullrich2006-10-231-5/+12
| | | | dhclient-script, restart it.
* Write out old ip to /tmp/rc.newwanip_oldipScott Ullrich2006-01-081-0/+1
|
* When adding nameservers to the system, add a route to the ip through the ↵Scott Ullrich2005-12-041-2/+18
| | | | interface in question. This ensures that domain name server lookups to the nameserver goes out the correct wan address. Also before adding new entries route delete the old nameserver routes that are on file to ensure that a long uptime doesn't result in stale routes.
* Pass rc.newwanip operations off to check_reload_status.cScott Ullrich2005-11-281-1/+1
|
* Remove the space from #! lineScott Ullrich2005-11-161-1/+1
|
* Start rc.newwanip in the backgroundScott Ullrich2005-11-131-1/+1
|
* Pass interface correctly to rc.newwanipScott Ullrich2005-11-131-1/+1
|
* Echo out the ip address of the interface after renewing to ↵Scott Ullrich2005-10-301-0/+1
| | | | /var/db/${interface}_ip
* MFC 6871Scott Ullrich2005-10-161-22/+31
| | | | 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.
* Pass the interface in question. We're multi-wan now.Scott Ullrich2005-09-211-1/+1
| | | | Pointy-hat-to: GeekGod
* Back out last commit. /etc/rc.newwanip is supposed to trigger the filter ↵Scott Ullrich2005-09-211-5/+0
| | | | reload
* Trigger filter reload after changesScott Ullrich2005-09-211-1/+5
|
* Use variablesScott Ullrich2005-09-111-1/+2
|
* Cleanup hacks. Only add default route if its not added already.Scott Ullrich2005-09-111-1/+4
|
* Add the interface as the default gateway if all else failsScott Ullrich2005-09-111-0/+4
|
* Log commands run to bring up default routeScott Ullrich2005-09-101-0/+2
|
* Uncomment /dev/null.Scott Ullrich2005-09-101-2/+5
|
* More full paths to filesScott Ullrich2005-09-101-14/+15
|
* use full path to sed, sleep, etcScott Ullrich2005-09-101-5/+8
|
* use full path to routeScott Ullrich2005-09-101-11/+10
|
* Simply call exit_with_hooks. We do not need to pass it a return value.Scott Ullrich2005-09-101-2/+2
|
* No need to check for rc.newwanip, the file will exist on pfSenseScott Ullrich2005-09-101-4/+1
|
* * No need to rely on exit-hooks to spawn rc.newwanip, do it here.Scott Ullrich2005-09-101-2/+2
| | | | * Exit with 0!
* Add athctrl.sh which helps in setting distanceScott Ullrich2005-08-301-0/+41
|
* Dns from dhcp fixes for GG to test.Jeb Campbell2005-08-301-38/+3
|
* Do not echo nameserver $nameserver, simply echo $nameserverScott Ullrich2005-08-301-1/+1
|
* Do not create /var/etc/resolv.conf in dhclient-script. Depend on ↵Scott Ullrich2005-08-301-2/+2
| | | | system_resolvconf_generate() and /etc/rc.newwanip
* Bring back in OpenBSD's dhclient-script for doctoringScott Ullrich2005-08-291-207/+267
|
* Restore previous dhclient-script.Scott Ullrich2005-08-281-267/+207
|
* Use /var/etc/ for temporary staging of resolv.confScott Ullrich2005-08-031-10/+10
|
OpenPOWER on IntegriCloud