Verifica che non sia abilitato
# systemctl status rc-local
# vi /etc/systemd/system/rc-local.service
[Unit]
Description=/etc/rc.local Compatibility
ConditionPathExists=/etc/rc.local
[Service]
Type=forking
ExecStart=/etc/rc.local start
TimeoutSec=0
StandardOutput=tty
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
# printf '%s\n' '#!/bin/bash' 'exit 0' | sudo tee -a /etc/rc.local
# chmod +x /etc/rc.local
# systemctl enable rc-local
# systemctl start rc-local.service
Verifica che sia tutto ok:
# systemctl status rc-local.service
Commenti offerti da CComment