packages/utils/watchcat/files/uci_defaults_watchcat
nunojpg 459215b85d [packages] watchcat: update to release 5
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-05 15:33:39 +00:00

11 lines
267 B
Bash

#!/bin/sh
[ -n "$(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
}