diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-29 06:19:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-08-29 06:19:34 +0000 |
commit | 72c16426eac01b5ad07af6d59f8e8d50c557e1f5 (patch) | |
tree | 223fe491d91e955f8931e47c9c425a768f84f9d2 /testing/rp-pppoe/rp-pppoe.initd | |
parent | 0ab1df962d59d5ae6f10c9022eb5256fcf5a959d (diff) | |
download | aports-72c16426eac01b5ad07af6d59f8e8d50c557e1f5.tar.bz2 aports-72c16426eac01b5ad07af6d59f8e8d50c557e1f5.tar.xz |
main/rp-pppoe: moved from testing
Diffstat (limited to 'testing/rp-pppoe/rp-pppoe.initd')
-rw-r--r-- | testing/rp-pppoe/rp-pppoe.initd | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/testing/rp-pppoe/rp-pppoe.initd b/testing/rp-pppoe/rp-pppoe.initd deleted file mode 100644 index 3e6ce3edba..0000000000 --- a/testing/rp-pppoe/rp-pppoe.initd +++ /dev/null @@ -1,30 +0,0 @@ -#!/sbin/runscript - -depend() { - need net -} - -start() { - ebegin "Starting PPPOE Server" - test -x /usr/sbin/pppoe-server -a -f /etc/ppp/pppoe-server-options || exit 0 - start-stop-daemon --start --exec /usr/sbin/pppoe-server -- ${PPPOE_PARAMS} - echo 1 > /proc/sys/net/ipv4/ip_forward - eend $? -} - -stop () { - ebegin "Stopping PPPOE Server" - start-stop-daemon --stop --exec /usr/sbin/pppoe-server - echo 0 > /proc/sys/net/ipv4/ip_forward - eend $? -} - -restart () { - ebegin "Restarting PPPOE Server" - start-stop-daemon --stop --exec /usr/sbin/pppoe-server - sleep 1 - start-stop-daemon --start --exec /usr/sbin/pppoe-server -- ${PPPOE_PARAMS} - echo 1 > /proc/sys/net/ipv4/ip_forward - echo "." -} - |