From 8b860b53891dc75acb179d55442f03c006725cd6 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Sun, 12 Apr 2020 10:54:05 -0500 Subject: [PATCH] disable amrbian-zram-config and remove armbian-ram-logging file --- install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/install b/install index 65fb8cb..bc4f00d 100755 --- a/install +++ b/install @@ -12,6 +12,9 @@ # Ideas/code used from: # 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 +# if [[ $(id -u) -ne 0 ]]; then echo "This script must be executed as root or using sudo." @@ -217,13 +220,13 @@ else fi # disable armbian log services if found -for service in log2ram armbian-ramlog; do +for service in log2ram armbian-ramlog armbian-zram-config; do if systemctl list-units --full -all | grep ${service}; then systemctl stop ${service} systemctl disable ${service} - rm -f /etc/cron.daily/${service}* fi done +rm -f /etc/cron.daily/armbian-ram-logging # install flashmemory plugin unless disabled if [ ${skipFlash} -eq 1 ]; then