mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
net/mwan3: add mwan3_init function
Move all shell commands which are executed during /lib/mwan3/mwan3.sh sourceing into a seperate init function which must be called at first. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -21,6 +21,7 @@ config_get initial_state $INTERFACE initial_state "online"
|
||||
[ "$enabled" == "1" ] || exit 0
|
||||
|
||||
mwan3_lock
|
||||
mwan3_init
|
||||
mwan3_set_connected_iptables
|
||||
mwan3_unlock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user