From da80954bde39d64e9d87598f403a2edc726f4305 Mon Sep 17 00:00:00 2001 From: nunojpg Date: Tue, 8 May 2012 16:44:50 +0000 Subject: [PATCH] [packages] watchcat, default configuration file correction git-svn-id: svn://svn.openwrt.org/openwrt/packages@31652 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- utils/watchcat/files/uci_defaults_watchcat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/watchcat/files/uci_defaults_watchcat b/utils/watchcat/files/uci_defaults_watchcat index 1c457d7a9..49def81eb 100644 --- a/utils/watchcat/files/uci_defaults_watchcat +++ b/utils/watchcat/files/uci_defaults_watchcat @@ -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