disable armbian-ramlog and armbian-zram-config

This commit is contained in:
Aaron Murray 2020-04-15 05:56:13 -05:00
parent 8b860b5389
commit 5750103dca

View File

@ -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