Browse Source

mwan3: Update documentation information for mwan3.user file

Signed-off-by: James White <james@jmwhite.co.uk>
lilik-openwrt-22.03
James White 4 years ago
parent
commit
8608afa75f
No known key found for this signature in database GPG Key ID: 3CA71AE6092B4423
2 changed files with 11 additions and 7 deletions
  1. +1
    -1
      net/mwan3/Makefile
  2. +10
    -6
      net/mwan3/files/etc/mwan3.user

+ 1
- 1
net/mwan3/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mwan3 PKG_NAME:=mwan3
PKG_VERSION:=2.10.3 PKG_VERSION:=2.10.3
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de> PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
PKG_CONFIG_DEPENDS:=CONFIG_IPV6 PKG_CONFIG_DEPENDS:=CONFIG_IPV6


+ 10
- 6
net/mwan3/files/etc/mwan3.user View File

@ -8,9 +8,13 @@
# There are three main environment variables that are passed to this script. # There are three main environment variables that are passed to this script.
# #
# $ACTION # $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

Loading…
Cancel
Save