remove logrotate override
This commit is contained in:
parent
5750103dca
commit
0f692e576f
6
install
6
install
@ -13,7 +13,7 @@
|
|||||||
# https://github.com/armbian/config/blob/master/debian-software
|
# https://github.com/armbian/config/blob/master/debian-software
|
||||||
# https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/
|
# 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
|
if [[ $(id -u) -ne 0 ]]; then
|
||||||
@ -233,6 +233,10 @@ fi
|
|||||||
if [ -f "/etc/default/armbian-zram-config" ]; then
|
if [ -f "/etc/default/armbian-zram-config" ]; then
|
||||||
sed -i "s/ENABLED=.*/ENABLED=false/g" /etc/default/armbian-zram-config
|
sed -i "s/ENABLED=.*/ENABLED=false/g" /etc/default/armbian-zram-config
|
||||||
fi
|
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
|
# install flashmemory plugin unless disabled
|
||||||
if [ ${skipFlash} -eq 1 ]; then
|
if [ ${skipFlash} -eq 1 ]; then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user