From 8608afa75f050fce80551a50599aa000ed40976e Mon Sep 17 00:00:00 2001 From: James White Date: Mon, 16 Nov 2020 10:42:23 +0000 Subject: [PATCH] mwan3: Update documentation information for mwan3.user file Signed-off-by: James White --- net/mwan3/Makefile | 2 +- net/mwan3/files/etc/mwan3.user | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/net/mwan3/Makefile b/net/mwan3/Makefile index b8a05b624..ec782a089 100644 --- a/net/mwan3/Makefile +++ b/net/mwan3/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mwan3 PKG_VERSION:=2.10.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Florian Eckert PKG_LICENSE:=GPL-2.0 PKG_CONFIG_DEPENDS:=CONFIG_IPV6 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 -# Is called by netifd and mwan3track -# Is called by netifd and mwan3track -# Is only called by mwan3track if tracking was successful -# 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") +# Is called by netifd and mwan3track. +# Is called by netifd and mwan3track. +# Is only called by mwan3track if tracking was successful. +# 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