4.2in E-Paper 3-color weather screen
[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