From d950a50ac6855d2a49328247ad0e6e9933547d33 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 10 May 2019 00:24:51 +0000 Subject: user/ppp: new package --- user/ppp/pppd.initd | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 user/ppp/pppd.initd (limited to 'user/ppp/pppd.initd') diff --git a/user/ppp/pppd.initd b/user/ppp/pppd.initd new file mode 100644 index 000000000..30bd641da --- /dev/null +++ b/user/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 +} + -- cgit v1.2.3-70-g09d2