freebsd-dev/etc/ppp/ppp.linkup.sample
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00

38 lines
1013 B
Plaintext

#########################################################################
#
# Example of ppp.linkup file
#
#
# This file is checked when PPP establishes network level connection.
# PPP command searches label in this file in following way and order.
#
# 1) At first, IP address assigned into our side is searched and execute
# associated command.
#
# 2) If it didn't found, then label name specified at startup time is
# searched.
#
# 3) If given label name is not found, then label MYADDR is searched.
#
# $FreeBSD$
#
#########################################################################
#
# If we've got 192.244.176.32 as our address, then regard peer as a gateway
# to 192.244.176.0 network.
#
#192.244.176.32:
# add 192.244.176.0 0 HISADDR
#
# If we are invoked with an argument ``iij-demand'', then
# delete existing route entry and add peer as default gateway.
#
iij-demand:
delete ALL
add 0 0 HISADDR
#
# Otherwise, simply add peer as default gateway.
#
MYADDR:
add 0 0 HISADDR