summaryrefslogtreecommitdiff
path: root/package/rp-pppoe/files/pppoe-server.init
diff options
context:
space:
mode:
Diffstat (limited to 'package/rp-pppoe/files/pppoe-server.init')
-rw-r--r--package/rp-pppoe/files/pppoe-server.init15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/rp-pppoe/files/pppoe-server.init b/package/rp-pppoe/files/pppoe-server.init
new file mode 100644
index 0000000000..2768895de0
--- /dev/null
+++ b/package/rp-pppoe/files/pppoe-server.init
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+DEFAULT=/etc/default/pppoe-server
+[ -f $DEFAULT ] && . $DEFAULT
+
+case $1 in
+ start)
+ pppoe-server $OPTIONS
+ ;;
+ *)
+ echo "usage: $0 (start)"
+ exit 1
+esac
+
+exit $?