Linux 开机自动执行脚本设置

1.首先将须要开机自动执行的脚本demoshell复制到/etc/init.d下html 2.修改此脚本的权限 chmod 755 /etc/init.d/demoshellshell 3.设置启动时执行此脚本post  cd /etc/init.dhtm  update-rc.d demoshell  defaults 95blog 最后的数字表示执行顺序,是第几个被执行的it 这个命令 等价于
相关文章
相关标签/搜索