#
# $FreeBSD: src/etc/rc.d/ppp,v 1.13 2007/03/31 09:03:38 mtm Exp $
# usage: /etc/rc.d/ppp <cmd> [tunX]
# PROVIDE: ppp
# REQUIRE: netif isdnd
/etc/rc.d/pf resync
}
# Allow the user to specify which ppp instance to control by
# specifing the tunnel device name on the command-line.
pppcmdline="$*"
if [ $# -gt 1 ]; then
pidfile="/var/run/$2.pid"
fi
load_rc_config $name
run_rc_command "$1"
run_rc_command ${pppcmdline}