- 论坛徽章:
- 13
|
本帖最后由 ulovko 于 2012-08-27 08:27 编辑
/usr/local/etc/rc.d :
The system boot process tries to execute any file with a name ending in .sh in this
directory.
/etc/rc.conf :
This file contains nothing but variables used by other /etc/rc scripts.
Various other /etc/rc.* scripts use /etc/rc.conf to get their configuration information.
/etc/rc.local:
The /etc/rc.local shell script runs at the very end of system initialization. Once every other system process has been started, /etc/rc.local runs.
This is the usual place to put startup commands for systems such as databases, small servers, and any other programs you want to run at boot time. You can place your add-on shell commands here.. |
|