|
发表于 2005-5-9 21:33:05
|
显示全部楼层
rc-update
gentoo的思想是运行的东西越少越精简越好--你装了某个系统服务--不显式声明起动它也是不会在开机自动运行的,免的没用的服务太多。
rc-update
usage: rc-update -a|add script runlevel2 [runlevel2...]
rc-update -d|del script [runlevel1...]
rc-update -s|show [runlevel1...]
note: After rc-update executes, the script dependency cache is automatically
updated.
examples:
rc-update add net.eth0 default
Adds the net.eth0 script (in /etc/init.d) to the "default" runlevel.
rc-update del sysklogd
Deletes the sysklogd script from all runlevels. The original script
is not deleted, just any symlinks to the script in /etc/runlevels/*.
rc-update del net.eth2 default wumpus
Delete the net.eth2 script from the default and wumpus runlevels.
All other runlevels are unaffected. Again, the net.eth2 script
residing in /etc/init.d is not deleted, just any symlinks in
/etc/runlevels/default and /etc/runlevels/wumpus.
rc-update show
Show all the available scripts and list at which runlevels they
will execute. |
|