summaryrefslogtreecommitdiff
path: root/extra/ppp/pppd.initd
blob: 30bd641da1695ced09ac7cb0bcbd90b0258663a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/sbin/openrc-run

name="pppd"
command="/usr/sbin/${SVCNAME}"
command_args="nodetach ${PPPD_OPTS}"
pidfile="/var/run/$SVCNAME.pid"
command_background=true

start_pre() {
	checkpath --directory /var/run/ppp
	modprobe pptp
}