- 开机后运行自己编写的命令 cat /etc/rc.local,This script will be executes after all the other init scripts
这个实例表示,系统在启动后,将执行两个命令。其中一个就是执行 changeip.sh,
这就表示系统在启动后将 修改eth0,的ip信息
- 将启动文件拷贝到 /etc/init.d中,并通过chkconfig来改变什么状态下启动
Linux入门——开机启动,开机运行
最新推荐文章于 2025-02-09 17:00:40 发布