[packages] watchcat, default configuration file correction
[packages.git] / utils / watchcat / files / uci_defaults_watchcat
index 1c457d7..49def81 100644 (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