ubuntu用chkconfigが欲しかったので探したらすぐに見つかった.curses使ってTUIで操作可能な点がchkconfigよりも良い所かな.
$ sysv-rc-conf ┌ SysV Runlevel Config -: stop service =/+: start service h: help q: quit ┐ │ │ │ service 1 2 3 4 5 0 6 S │ │ ---------------------------------------------------------------------------- │ │ alsa-utils [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │ │ apache2 [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ apparmor [ ] [ ] [ ] [ ] [ ] [ ] [ ] [X] │ │ atd [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ bind9 [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ bootclean [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │ │ bootlogd [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │ │ clamav-da$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ clamav-fr$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ console-s$ [ ] [ ] [ ] [ ] [ ] [ ] [ ] [X] │ │ cron [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ ddclient [ ] [X] [X] [X] [X] [ ] [ ] [ ] │ │ dns-clean [ ] [ ] [ ] [ ] [ ] [ ] [ ] [X] │ │ │ └──────────────────────────────────────────┘ ┌──────────────────────────────────────────┐ │ Use the arrow keys or mouse to move around. ^n: next pg ^p: prev pg │ │ space: toggle service on / off │ └──────────────────────────────────────────┘
あとは普通にコマンドラインからも可能
$ sysv-rc-conf --list $ sysv-rc-conf --level 2 apache2 off