View | Details | Raw Unified | Return to bug 104623
Collapse All | Expand All

(-)etc/rc.d/ppp (-1 / +11 lines)
Lines 2-7 Link Here
2
#
2
#
3
# $FreeBSD: src/etc/rc.d/ppp,v 1.13 2007/03/31 09:03:38 mtm Exp $
3
# $FreeBSD: src/etc/rc.d/ppp,v 1.13 2007/03/31 09:03:38 mtm Exp $
4
#
4
#
5
# usage: /etc/rc.d/ppp <cmd> [tunX]
6
#
5
7
6
# PROVIDE: ppp
8
# PROVIDE: ppp
7
# REQUIRE: netif isdnd
9
# REQUIRE: netif isdnd
Lines 46-50 Link Here
46
	/etc/rc.d/pf resync
48
	/etc/rc.d/pf resync
47
}
49
}
48
50
51
# Allow the user to specify which ppp instance to control by
52
# specifing the tunnel device name on the command-line.
53
#
54
pppcmdline="$*"
55
if [ $# -gt 1 ]; then
56
	pidfile="/var/run/$2.pid"
57
fi
58
49
load_rc_config $name
59
load_rc_config $name
50
run_rc_command "$1"
60
run_rc_command ${pppcmdline}

Return to bug 104623