树莓派/etc/rc.local开机启动不执行

sudo systemctl status rc-local

 查看rc-local服务状态,如服务出现错误,则解决错误后重启,如无错误:

ls -l /etc/rc.local

 查看rc.local权限,如果是-rw-r--r--,则执行:

sudo chmod +x /etc/rc.local

然后重启即可

 

posted @ 2021-03-06 09:21  盛世芳华  阅读(1678)  评论(0编辑  收藏  举报