[packages] watchcat, default configuration file correction
[openwrt/svn-archive/archive.git] / utils / watchcat / files / uci_defaults_watchcat
1 #!/bin/sh
2
3 uci -q show system.@watchcat[0] || {
4 uci add system watchcat
5 uci set system.@watchcat[0].period=6h
6 uci set system.@watchcat[0].mode=ping
7 uci set system.@watchcat[0].pinghosts=8.8.8.8
8 uci set system.@watchcat[0].forcedelay=30
9 uci commit
10 }