mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00: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:
@@ -187,6 +187,7 @@ restart() {
|
||||
|
||||
case "$1" in
|
||||
ifup|ifdown|interfaces|policies|connected|rules|status|start|stop|restart)
|
||||
mwan3_init
|
||||
$*
|
||||
;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user