Not long ago, due to project needs to write boot to start otherProgramBecause of busy work, the shell script has been delivered to the technical support staff after debugging, and I have not paid attention to it.
Later on, several servers were suddenly restarted. At this time, the leaders asked how the boot script didn't work, and the script was also approved. Well, it's worth it!
Then, check the cause,
The manual execution is correct. After the permission and script problems are eliminated, it is very depressing. How can this problem be executed in the startup project.
Check the Linux boot process information. Google, read some information about startup and startup, and found that the startup program level is 3.
Decisively shun Teng Moua, found this directory/etc/rc. d/rc3.d, and suddenly realized it.
My RC. the local file is in/etc/rc. local (it is written here on the Internet and I made it online), and I checked that the system points to RC. the local file path is/etc/rc. d/RC. local
Later, configure the boot script to/etc/rc. d/rc. Local (or point s99local to/etc/rc. Local). Restart and check!
Summary: I am not familiar with the Linux system. This is a long process. I have more time to read this book.