SmartAudio/package/utils/watchcat/files/uci_defaults_watchcat

11 lines
255 B
Plaintext
Raw Normal View History

2018-07-13 01:31:50 +00:00
#!/bin/sh
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].pinghosts=8.8.8.8
uci set system.@watchcat[0].forcedelay=30
uci commit
}