net/mwan3: add mwan3.user hotplug script

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2017-03-15 16:11:07 +01:00
parent 0f73eff96a
commit 43ca6ec481
3 changed files with 25 additions and 1 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
#
# This file is interpreted as shell script.
# Put your custom mwan3 action here, they will
# be executed with each netifd hotplug interface event
# on interfaces for which mwan3 is enabled.
#
# Parameter values from hotplug.d
# $1 = ACTION (ifup/ifdown)
# $2 = INTERFACE (wan/lan/...)
# $3 = DEVICE (eth0/wwan0/...)