[packages] watchcat, default configuration file correction

git-svn-id: svn://svn.openwrt.org/openwrt/packages@31652 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nunojpg 2012-05-08 16:44:50 +00:00
parent f456cd6ded
commit da80954bde

View File

@ -1,6 +1,6 @@
#!/bin/sh
[ -n "$(uci -q show system.@watchcat[0])" ] || {
uci -q show system.@watchcat[0] || {
uci add system watchcat
uci set system.@watchcat[0].period=6h
uci set system.@watchcat[0].mode=ping