diff options
Diffstat (limited to 'extra/ppp/pppd.initd')
-rw-r--r-- | extra/ppp/pppd.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/ppp/pppd.initd b/extra/ppp/pppd.initd new file mode 100644 index 0000000..30bd641 --- /dev/null +++ b/extra/ppp/pppd.initd @@ -0,0 +1,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 +} + |