由 louie » 週五 12月 26, 2003 2:39 pm
不過還是建議用 update-rc.d
因為在將來的 debian 有可能會將 /etc/rc.boot 的功能取消掉
在 /etc/init.d/rcS 中有說明是為了相容而保留 rc.boot 的
# For compatibility, run the files in /etc/rc.boot too.
#
[ -d /etc/rc.boot ] && run-parts /etc/rc.boot
另外參考
先裝 debian-policy
zless /usr/share/doc/debian-policy/policy.txt.gz
看 9.3.4
9.3.4. Boot-time initialization
-------------------------------
There used to be another directory, `/etc/rc.boot', which contained
scripts which were run once per machine boot. This has been
deprecated in favour of links from `/etc/rcS.d' to files in
`/etc/init.d' as described in Section 9.3.1, `Introduction'. Packages
must not place files in `/etc/rc.boot'.