1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Add option to send mail when connection status change

This commit is contained in:
Ycarus 2018-11-05 19:14:23 +01:00
parent 80cb838778
commit 2679958caa
9 changed files with 155 additions and 0 deletions

View file

@ -0,0 +1,8 @@
#!/bin/sh
uci -q batch <<-EOF >/dev/null
delete ucitrack.@mail[-1]
add ucitrack mail
set ucitrack.@mail[-1].init=mail
commit ucitrack
EOF
exit 0