projects
/
weathermon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e32107a
)
Все берем из настроек!
author
Roman Bazalevsky
<rvb@rvb.name>
Mon, 12 Nov 2018 17:33:18 +0000
(20:33 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Mon, 12 Nov 2018 17:33:18 +0000
(20:33 +0300)
bin/dump-current
patch
|
blob
|
history
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