1.看是否rc.local 第一行如果是 #!/bin/sh -e 改成 #!/bin/bash
sudo systemctl enable rc-local.service
2.看rc.local的權限 chmod a+x /etc/rc.local
1.看是否rc.local 第一行如果是 #!/bin/sh -e 改成 #!/bin/bash
sudo systemctl enable rc-local.service
2.看rc.local的權限 chmod a+x /etc/rc.local
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。