From 5750103dca4317f8592603a6baeb2041551cfebb Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Wed, 15 Apr 2020 05:56:13 -0500 Subject: [PATCH] disable armbian-ramlog and armbian-zram-config --- install | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/install b/install index bc4f00d..8b631eb 100755 --- a/install +++ b/install @@ -13,7 +13,7 @@ # https://github.com/armbian/config/blob/master/debian-software # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # -# version: 1.0.1 +# version: 1.0.2 # if [[ $(id -u) -ne 0 ]]; then @@ -227,6 +227,12 @@ for service in log2ram armbian-ramlog armbian-zram-config; do fi done rm -f /etc/cron.daily/armbian-ram-logging +if [ -f "/etc/default/armbian-ramlog" ]; then + sed -i "s/ENABLED=.*/ENABLED=false/g" /etc/default/armbian-ramlog +fi +if [ -f "/etc/default/armbian-zram-config" ]; then + sed -i "s/ENABLED=.*/ENABLED=false/g" /etc/default/armbian-zram-config +fi # install flashmemory plugin unless disabled if [ ${skipFlash} -eq 1 ]; then