| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
allowed when a ppp interface goes down. Code borrowed from dhclient-script.
|
|
|
|
| |
interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Ticket #8.
|
|
|
|
| |
have the latest dns servers. Ticket #838.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
persistent through reboot.
Also, change the way uptime is captured. The mpd console is no longer used to
get PPP uptime data, which will prevent spamming of PPP logs with console access messages.
This means we no longer have to write out mpd_<interface>.query files to /var/etc.
Now, a simple calculation of the age of the /tmp/<interface>up file is used. This
gives the same data within the second as the console data so it seems acceptable.
I removed some "rm -f" calls from ppp-linkdown as there was already code in interfaces.inc
interface_bring_down function that unlinks the <interface>up and <interface>_router files.
There is still the rm -r nameserver_<interface> call in the linkdown script. Maybe this should
be moved to the interfac_bring_down function for consistency? Also, I commented out the
ngctl shutdown <interface>: call. I think it's probably not necessary any more.
|
| |
|
|
|
|
| |
static routes for all nameservers to be friendly with multiwan.
|
|
|