From d4abb642d00db3fbd08f2aa80eeec8c215923c4c Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 16 Sep 2018 11:26:22 +0200 Subject: [PATCH] pppoe-server: Run with absolute path Because PATH has been changed this script is executing itself recursively Signed-off-by: Michael Tremer --- src/ppp/pppoe-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppp/pppoe-server b/src/ppp/pppoe-server index e0c6b21..5c46a90 100644 --- a/src/ppp/pppoe-server +++ b/src/ppp/pppoe-server @@ -91,7 +91,7 @@ case "${action}" in log DEBUG "pppoe-server options: ${pppoe_cmdline}" # Now exec the actual pppoe-server binary. - exec pppoe-server ${pppoe_cmdline} + exec /usr/sbin/pppoe-server ${pppoe_cmdline} error "Could not execute pppoe-server. Exiting." exit ${EXIT_ERROR} -- 2.47.3