From: Roman Bazalevsky Date: Mon, 12 Nov 2018 17:33:18 +0000 (+0300) Subject: Все берем из настроек! X-Git-Url: https://git.rvb.name/weathermon.git/commitdiff_plain/aa93d9c75aad23c01d984b780adf5e0ef4435bb1?ds=inline Все берем из настроек! --- diff --git a/bin/dump-current b/bin/dump-current index c7670b9..5b3761f 100755 --- a/bin/dump-current +++ b/bin/dump-current @@ -1,7 +1,7 @@ #!/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