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 這個命令 等價於
相關文章
相關標籤/搜索