this is workaround for me that runs correctly:
in rc.local:
(systemctl stop networking.service; systemctl start networking.service; systemctl restart networking.service; true) &
if i put the commands one by one, rc.local unit will fail because systemctl start exits non-zero. notice the 'restart' action for the second command.
this is workaround for me that runs correctly:
in rc.local:
(systemctl stop networking.service; systemctl start networking.service; systemctl restart networking.service; true) &
if i put the commands one by one, rc.local unit will fail because systemctl start exits non-zero. notice the 'restart' action for the second command.