diff options
author | James White <james@jmwhite.co.uk> | 2020-11-16 10:42:23 +0000 |
---|---|---|
committer | James White <james@jmwhite.co.uk> | 2020-11-16 10:42:45 +0000 |
commit | 8608afa75f050fce80551a50599aa000ed40976e (patch) | |
tree | 8b4dd7a92a7d9239b8aea39655d766c73612c752 /net/mwan3/files | |
parent | 58721b218d59adb201252a5f9b93100c3e80b61b (diff) |
mwan3: Update documentation information for mwan3.user file
Signed-off-by: James White <james@jmwhite.co.uk>
Diffstat (limited to 'net/mwan3/files')
-rw-r--r-- | net/mwan3/files/etc/mwan3.user | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/net/mwan3/files/etc/mwan3.user b/net/mwan3/files/etc/mwan3.user index 39989ab9b..2e8e51748 100644 --- a/net/mwan3/files/etc/mwan3.user +++ b/net/mwan3/files/etc/mwan3.user @@ -8,9 +8,13 @@ # There are three main environment variables that are passed to this script. # # $ACTION -# <ifup> Is called by netifd and mwan3track -# <ifdown> Is called by netifd and mwan3track -# <connected> Is only called by mwan3track if tracking was successful -# <disconnected> Is only called by mwan3track if tracking has failed -# $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") +# <ifup> Is called by netifd and mwan3track. +# <ifdown> Is called by netifd and mwan3track. +# <connected> Is only called by mwan3track if tracking was successful. +# <disconnected> Is only called by mwan3track if tracking has failed. +# $INTERFACE Name of the interface an action relates to (e.g. "wan" or "wwan"). +# $DEVICE Physical device name of the interface the action relates to (e.g. "eth0" or "wwan0"). +# Note: On an ifdown event, $DEVICE is not available, use $INTERFACE instead. +# +# Further documentation can be found here: +# https://openwrt.org/docs/guide-user/network/wan/multiwan/mwan3#alertsnotifications |