projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3679f3
)
[packages] watchcat, default configuration file correction
author
Nuno Goncalves
<nunojpg@gmail.com>
Tue, 8 May 2012 16:44:50 +0000
(16:44 +0000)
committer
Nuno Goncalves
<nunojpg@gmail.com>
Tue, 8 May 2012 16:44:50 +0000
(16:44 +0000)
SVN-Revision: 31652
utils/watchcat/files/uci_defaults_watchcat
patch
|
blob
|
history
diff --git
a/utils/watchcat/files/uci_defaults_watchcat
b/utils/watchcat/files/uci_defaults_watchcat
index 1c457d7a9d42772ae32cf3aff826a9e03bcce83e..49def81eb7661bf2b94aeed5405f9f28b437f1ec 100644
(file)
--- 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