]> git.ipfire.org Git - network.git/commitdiff
pppoe-server: Run with absolute path
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Sep 2018 09:26:22 +0000 (11:26 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 16 Sep 2018 09:26:22 +0000 (11:26 +0200)
Because PATH has been changed this script is executing
itself recursively

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/ppp/pppoe-server

index e0c6b21adec340cca6fb756d12cbf97d5b3612fd..5c46a90d39560b7b8b53918d99aa1b3dab7b09c9 100644 (file)
@@ -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}