From: Stefan Schantl Date: Sun, 30 Aug 2015 20:35:21 +0000 (+0000) Subject: pppoe-server: Load pppoe kernel module X-Git-Tag: 007~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa19a5ae3cf38883b92be90df674f08da44c52f1;p=network.git pppoe-server: Load pppoe kernel module Signed-off-by: Stefan Schantl --- diff --git a/src/functions/functions.pppoe-server b/src/functions/functions.pppoe-server index fe0fc5c4..5c9860b0 100644 --- a/src/functions/functions.pppoe-server +++ b/src/functions/functions.pppoe-server @@ -19,10 +19,18 @@ # # ############################################################################### +pppoe_server_init() { + # Load the pppoe kernel module + module_load "pppoe" +} + pppoe_server_start() { local zone=${1} assert isset zone + # Initialise the system for this + pppoe_server_init + service_start "pppoe-server@${zone}.service" }