summaryrefslogtreecommitdiffstats
path: root/utils/watchcat/files/uci_defaults_watchcat
blob: 49def81eb7661bf2b94aeed5405f9f28b437f1ec (plain)
1
2
3
4
5
6
7
8
9
10
#!/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
}