projects
/
weathermon.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Веб переделан/
[weathermon.git]
/
bin
/
dump-current
1
#!/bin/sh
2
3
logdb=`uci get weathermon.process.logdb`
4
5
if [ -f "$logdb" ]; then
6
7
dumpdir=`uci get weathermon.process.working_dir`/www
8
mkdir -p $dumpdir
9
/usr/bin/weather-filter $logdb dump-compacted - $dumpdir
10
11
fi
12