|
@ -5,7 +5,8 @@ |
|
|
# be executed with each netifd hotplug interface event |
|
|
# be executed with each netifd hotplug interface event |
|
|
# on interfaces for which mwan3 is enabled. |
|
|
# on interfaces for which mwan3 is enabled. |
|
|
# |
|
|
# |
|
|
# Parameter values from hotplug.d |
|
|
|
|
|
# $1 = ACTION (ifup/ifdown) |
|
|
|
|
|
# $2 = INTERFACE (wan/lan/...) |
|
|
|
|
|
# $3 = DEVICE (eth0/wwan0/...) |
|
|
|
|
|
|
|
|
# There are three main environment variables that are passed to this script. |
|
|
|
|
|
# |
|
|
|
|
|
# $ACTION Either "ifup" or "ifdown" |
|
|
|
|
|
# $INTERFACE Name of the interface which went up or down (e.g. "wan" or "wwan") |
|
|
|
|
|
# $DEVICE Physical device name which interface went up or down (e.g. "eth0" or "wwan0") |