From fa19a5ae3cf38883b92be90df674f08da44c52f1 Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 30 Aug 2015 20:35:21 +0000 Subject: [PATCH] pppoe-server: Load pppoe kernel module Signed-off-by: Stefan Schantl --- src/functions/functions.pppoe-server | 8 ++++++++ 1 file changed, 8 insertions(+) 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" } -- 2.47.3