From: Florian Eckert Date: Wed, 28 Mar 2018 07:17:34 +0000 (+0200) Subject: luci-app-mwan3: update notify info X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F1704%2Fhead;p=oweals%2Fluci.git luci-app-mwan3: update notify info Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua index 6f87a3d75..4c6e21003 100644 --- a/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua +++ b/applications/luci-app-mwan3/luasrc/model/cbi/mwan/notify.lua @@ -23,7 +23,11 @@ f = m5:section(SimpleSection, nil, "
" .. "There are three main environment variables that are passed to this script.
" .. "
" .. - "$ACTION Either \"ifup\" or \"ifdown\"
" .. + "$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\")
" .. "
"))