diff options
Diffstat (limited to 'main/rp-pppoe/rp-pppoe.initd')
-rw-r--r-- | main/rp-pppoe/rp-pppoe.initd | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/main/rp-pppoe/rp-pppoe.initd b/main/rp-pppoe/rp-pppoe.initd index 3e6ce3edba..1861199965 100644 --- a/main/rp-pppoe/rp-pppoe.initd +++ b/main/rp-pppoe/rp-pppoe.initd @@ -8,14 +8,12 @@ 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 $? } @@ -24,7 +22,6 @@ restart () { 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 "." } |