Remove usage of /etc/rc.local and of installautostart/uninstallautostart