]> git.ipfire.org Git - people/stevee/network.git/commitdiff
pppoe-server: Load pppoe kernel module
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 30 Aug 2015 20:35:21 +0000 (20:35 +0000)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 30 Aug 2015 20:35:21 +0000 (20:35 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
src/functions/functions.pppoe-server

index fe0fc5c46860815e4cae99322927955548bd90f9..5c9860b096d8ecd894ca2066d3ff04fa95063147 100644 (file)
 #                                                                             #
 ###############################################################################
 
+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"
 }