summaryrefslogtreecommitdiff
path: root/package/rp-pppoe/files
diff options
context:
space:
mode:
Diffstat (limited to 'package/rp-pppoe/files')
-rw-r--r--package/rp-pppoe/files/pppoe-relay.init2
-rw-r--r--package/rp-pppoe/files/pppoe-server.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/rp-pppoe/files/pppoe-relay.init b/package/rp-pppoe/files/pppoe-relay.init
index 5998b5291..458a47eaf 100644
--- a/package/rp-pppoe/files/pppoe-relay.init
+++ b/package/rp-pppoe/files/pppoe-relay.init
@@ -14,7 +14,7 @@ start)
pppoe-relay $pppoe_relay_flags
;;
stop)
- killall pppoe-relay
+ pkill pppoe-relay
;;
restart)
sh $0 stop
diff --git a/package/rp-pppoe/files/pppoe-server.init b/package/rp-pppoe/files/pppoe-server.init
index f8c7c7fd5..b078110a0 100644
--- a/package/rp-pppoe/files/pppoe-server.init
+++ b/package/rp-pppoe/files/pppoe-server.init
@@ -14,7 +14,7 @@ start)
pppoe-server
;;
stop)
- killall pppoe-server
+ pkill pppoe-server
;;
restart)
sh $0 stop