Linux系統的啟動程序

Linux系統的啟動程序
ubuntu 的 /lib/init 相當於其它 distros 的 /etc/rc.d/init.d/
但事實上有非常多的Linux發行版,啟動腳本目錄都是在/etc/rc.d,反而/etc/init.d並非大宗。

列出目前啟用的服務:
# Traditional:
ls /etc/init.d
# Upstart:
service --status-all

新增一個服務到啟動程序路徑:
# Traditional
update-rc.d apache2 defaults

自啟動程序中移除一個服務:
# Traditional - Something along the lines of
rm /etc/rc*/*myscript

參考文件:
https://help.ubuntu.com/community/UbuntuBootupHowto
http://nmc.nchu.edu.tw/linux/Linux_boot.htm

留言

  1. The actual placement of the chips decide the wager being 카지노사이트 made. Each participant is answerable for the proper positioning of their wager on the structure regardless of whether or not the wager is placed by the supplier. Outside bets are made by placing your wager on choices outside of the numbered roulette grid. These bets improve your probabilities of successful on every spin, however pay out lower than an inside wager would. The mini roulette wheel is smaller than a normal 0-36 numbered wheel, solely going a lot as} 12 and, just like the European version, solely featuring a single "0" square.

    回覆刪除

張貼留言

熱門文章