projects
/
weathermon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Незначительные правки. Добавлен скрипт для проверки состояния и перезапуска отваливши...
[weathermon.git]
/
bin
/
dump-current
diff --git
a/bin/dump-current
b/bin/dump-current
index c7670b9b5351d29f096c84349b048a23e013a5af..5b3761f13f0f52037487a57aa05271f38f93bb4e 100755
(executable)
--- a/
bin/dump-current
+++ b/
bin/dump-current
@@
-1,7
+1,7
@@
#!/bin/sh
logdb=`uci get weathermon.process.logdb`
#!/bin/sh
logdb=`uci get weathermon.process.logdb`
-dumpdir=
/var/weather
/www
+dumpdir=
`uci get weathermon.process.working_dir`
/www
mkdir -p $dumpdir
/usr/bin/weather-filter $logdb dump-compacted - $dumpdir
mkdir -p $dumpdir
/usr/bin/weather-filter $logdb dump-compacted - $dumpdir