From 5d4068cd6f7f8fb3322afc6bb50db6c414ffbafd Mon Sep 17 00:00:00 2001 From: Markus Storm Date: Sat, 25 May 2024 06:59:42 +0200 Subject: [PATCH] do not zsyncfor now Signed-off-by: Markus Storm --- functions/zram.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/zram.bash b/functions/zram.bash index e1280ceab..583ec3b6f 100644 --- a/functions/zram.bash +++ b/functions/zram.bash @@ -65,7 +65,8 @@ init_zram_mounts() { if ! cond_redirect install -m 644 "$zramInstallLocation"/zram-config/service/SystemD/zram-config.service /etc/systemd/system/zram-config.service; then echo "FAILED (install zram-config.service)"; return 1; fi if ! cond_redirect install -m 755 "${BASEDIR:-/opt/openhabian}"/zram-sync /usr/local/sbin; then echo "FAILED (install ZRAM sync script)"; return 1; fi if ! cond_redirect install -m 644 "${BASEDIR:-/opt/openhabian}/includes/SD"/zsync.* /etc/systemd/system/; then echo "FAILED (install ZRAM sync service)"; return 1; fi - if ! cond_redirect systemctl enable --now zsync.timer &> /dev/null; then echo "FAILED (enable zram sync timer)"; return 1; fi + # issue with openhab log stopping due to log4j2 + #if ! cond_redirect systemctl enable --now zsync.timer &> /dev/null; then echo "FAILED (enable zram sync timer)"; return 1; fi if ! cond_redirect mkdir -p /usr/local/share/zram-config/log; then echo "FAILED (create directory)"; return 1; fi if ! cond_redirect ln -s /usr/local/share/zram-config/log /var/log/zram-config; then echo "FAILED (link directory)"; return 1; fi