不便或不需写为服务脚本放置于/etc/rc.d/init.d/目录,且又想开机时自动运行的命令,可直接放置在/etc/rc.d/rc.local文件中 (/etc/rc.d/rc.local在指定运行级别脚本后运行)