remove logrotate override

This commit is contained in:
Aaron Murray 2020-04-15 06:14:04 -05:00
parent 5750103dca
commit 0f692e576f

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.2
# version: 1.0.3
#
if [[ $(id -u) -ne 0 ]]; then
@ -233,6 +233,10 @@ fi
if [ -f "/etc/default/armbian-zram-config" ]; then
sed -i "s/ENABLED=.*/ENABLED=false/g" /etc/default/armbian-zram-config
fi
if [ -f "/etc/systemd/system/logrotate.service" ]; then
rm -f /etc/systemd/system/logrotate.service
systemctl daemon-reload
fi
# install flashmemory plugin unless disabled
if [ ${skipFlash} -eq 1 ]; then