summaryrefslogtreecommitdiff
path: root/package/pptpd/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/pptpd/files')
-rw-r--r--package/pptpd/files/pptpd.conffiles2
-rw-r--r--package/pptpd/files/pptpd.init7
-rw-r--r--package/pptpd/files/pptpd.postinst3
3 files changed, 8 insertions, 4 deletions
diff --git a/package/pptpd/files/pptpd.conffiles b/package/pptpd/files/pptpd.conffiles
new file mode 100644
index 000000000..c5afda91f
--- /dev/null
+++ b/package/pptpd/files/pptpd.conffiles
@@ -0,0 +1,2 @@
+/etc/ppp/options.pptpd
+/etc/pptpd.conf
diff --git a/package/pptpd/files/pptpd.init b/package/pptpd/files/pptpd.init
index c2b8ac032..f4f37613f 100644
--- a/package/pptpd/files/pptpd.init
+++ b/package/pptpd/files/pptpd.init
@@ -1,5 +1,7 @@
#!/bin/sh
-#FWINIT 60
+#PKG pptpd
+#INIT 60
+
. /etc/rc.conf
case $1 in
@@ -9,9 +11,6 @@ autostart)
exec sh $0 start
;;
start)
- for m in arc4 sha1 slhc crc-ccitt ppp_generic ppp_async ppp_mppe_mppc; do
- insmod $m >/dev/null 2>&1
- done
pptpd
;;
stop)
diff --git a/package/pptpd/files/pptpd.postinst b/package/pptpd/files/pptpd.postinst
new file mode 100644
index 000000000..05b1af001
--- /dev/null
+++ b/package/pptpd/files/pptpd.postinst
@@ -0,0 +1,3 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf pptpd pptpd NO