Project

General

Profile

« Previous | Next » 

Revision 3d471a14

Added by Ermal LUÇI almost 15 years ago

Ticket #876. Add the ip to the respective files on ppp linkup event so the 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.

View differences:

usr/local/sbin/ppp-linkdown
8 8
/usr/sbin/ngctl shutdown $1:
9 9
/bin/rm -f /var/etc/nameserver_$1
10 10
# Do not remove gateway used during filter reload.
11
# /bin/rm -f /tmp/$1_router
11
/bin/rm -f /tmp/$1_router
12 12
/bin/rm -f /tmp/$1up
13 13
/usr/local/sbin/pfSctl -c 'service reload dns'

Also available in: Unified diff