mwan3.user (487B)
1 #!/bin/sh 2 # 3 # This file is interpreted as shell script. 4 # Put your custom mwan3 action here, they will 5 # be executed with each netifd hotplug interface event 6 # on interfaces for which mwan3 is enabled. 7 # 8 # There are three main environment variables that are passed to this script. 9 # 10 # $ACTION Either "ifup" or "ifdown" 11 # $INTERFACE Name of the interface which went up or down (e.g. "wan" or "wwan") 12 # $DEVICE Physical device name which interface went up or down (e.g. "eth0" or "wwan0")