table of Contents
If the Linux startup script /etc/rc.local file is not being executed, probably because rc.loca file does not have executable permissions, follow these steps to resolve this problem.
1, / etc / rc.local is /etc/rc.d/rc.local soft link
Perform ls -l /etc/rc.local
and see.
2, look at the permissions /etc/rc.d/rc.local
Perform ls -l /etc/rc.d/rc.local
and see.
3, modify /etc/rc.d/rc.local executable permissions
chmod +x /etc/rc.d/rc.local
4, restart solve
reboot
or
init 6
5. Copyright
C Language Technology Network original article, reproduced please indicate the source link to the article, the author and original.
Source: C Language Technology Network ( www.freecplus.net )
Author: Ethics Code farming