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