chkconfig在ubuntu里用什么命令替代


# update-rc.d sshd defaults          # Activate sshd with the default runlevels
# update-rc.d sshd start 20 2 3 4 5 . stop 20 0 1 6 .  # With explicit arguments
# update-rc.d -f sshd remove         # Disable sshd for all runlevels
# shutdown -h now (or # poweroff)    # Shutdown and halt the system

posted on 2013-05-01 20:23  weaver_chen  阅读(812)  评论(0编辑  收藏  举报