Skip to content

Commit 1da5d6c

Browse files
committed
fix temp sync dir to use storagedir
Signed-off-by: Markus Storm <[email protected]>
1 parent dada0fd commit 1da5d6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zramsync

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
#!/usr/bin/env bash
22

33
set -x
4+
source /etc/openhabian.conf
45

56
TMPDIR=/tmp
6-
LOG="/storage/zram/zramsync.log"
7+
LOG="${storagedir:-/storage}/zram/zramsync.log"
78
dir="$2"
89
storeFile="${dir}/zram.tar"
910

0 commit comments

Comments
 (0)