mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
watchcat: add ability to restart interface + refactor
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
uci -q show system.@watchcat[0] || {
|
||||
uci add system watchcat
|
||||
uci set system.@watchcat[0].period=6h
|
||||
uci set system.@watchcat[0].mode=ping
|
||||
uci set system.@watchcat[0].mode=ping_reboot
|
||||
uci set system.@watchcat[0].pinghosts=8.8.8.8
|
||||
uci set system.@watchcat[0].forcedelay=30
|
||||
uci commit
|
||||
|
||||
Reference in New Issue
Block a user