のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

ubuntuでchkconfigの代りは、sysv-rc-conf

$sudo apt-get install sysv-rc-conf

$ sudo sysv-rc-conf --list
acpi-support 1:off 2:on 3:on 4:on 5:on
acpid
alsa-mixer-s
anacron
apparmor S:on
apport
atd
avahi-daemon
binfmt-suppo 2:on 3:on 4:on 5:on
bluetooth 0:off 1:off 2:on 3:on 4:on 5:on 6:off
bootlogd
brltty S:on
console-setu
cron
cups 1:off 2:on 3:on 4:on 5:on
dbus
dmesg
dns-clean 1:on 2:on 3:on 4:on 5:on
failsafe-x
fancontrol 2:on 3:on 4:on 5:on
gdm
grub-common 2:on 3:on 4:on 5:on
halt 0:on
hostname
hwclock
hwclock-save
irqbalance
kerneloops 1:off 2:on 3:on 4:on 5:on
killprocs 1:on
lm-sensors S:on
module-init-
network-inte
network-inte
network-mana
networking 0:on 6:on
ondemand 2:on 3:on 4:on 5:on
pcmciautils S:on
plymouth
plymouth-log
plymouth-spl
plymouth-sto
pppd-dns 1:on 2:on 3:on 4:on 5:on
procps
pulseaudio 1:off 2:on 3:on 4:on 5:on
rc.local 2:on 3:on 4:on 5:on
reboot 6:on
rsync 1:off 2:on 3:on 4:on 5:on
rsyslog
saned 1:off 2:on 3:on 4:on 5:on
screen-clean
sendsigs 0:on 6:on
single 1:on
speech-dispa 1:off 2:on 3:on 4:on 5:on
stop-bootlog
stop-bootlog
udev
udev-finish
udevmonitor
udevtrigger
ufw
umountfs 0:on 6:on
umountroot 0:on 6:on
unattended-u 0:on 6:on
urandom 0:on 6:on S:on
wpa-ifupdown 0:on 6:on
x11-common S:on


$sudo sysv-rc-conf

┌ SysV Runlevel Config -: stop service =/+: start service h: help q: quit ┐
│ │
│ service 1 2 3 4 5 0 6 S │
│ ---------------------------------------------------------------------------- │
│ acpi-supp$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] │
│ acpid [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
alsa-mixe$ [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ anacron [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ apparmor [ ] [ ] [ ] [ ] [ ] [ ] [ ] [X] │
│ apport [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ atd [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ avahi-dae$ [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ binfmt-su$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] │
bluetooth [ ] [X] [X] [X] [X] [ ] [ ] [ ] │
│ bootlogd [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ brltty [ ] [ ] [ ] [ ] [ ] [ ] [ ] [X] │
│ console-s$ [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ cron [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ cups [ ] [X] [X] [X] [X] [ ] [ ] [ ] │
dbus [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ dmesg [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
dns-clean [X] [X] [X] [X] [X] [ ] [ ] [ ] │
│ failsafe-x [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ fancontrol [ ] [X] [X] [X] [X] [ ] [ ] [ ] │
│ gdm [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
grub-comm$ [ ] [X] [X] [X] [X] [ ] [ ] [ ] │
│ halt [ ] [ ] [ ] [ ] [ ] [X] [ ] [ ] │
│ hostname [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ hwclock [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] │
│ │
└──────────────────────────────────────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────────────────────────┐
│ Use the arrow keys or mouse to move around. ^n: next pg ^p: prev pg │
│ space: toggle service on / off │
└──────────────────────────────────────────────────────────────────────────────┘

$ service
Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]

$ service --status-all
[ ? ] acpi-support
[ ? ] acpid
[ ? ] alsa-mixer-save
[ ? ] anacron
[ - ] apparmor
[ ? ] apport
[ ? ] atd
[ ? ] avahi-daemon
[ ? ] binfmt-support
[ - ] bluetooth
[ - ] bootlogd
[ - ] brltty
[ ? ] console-setup
[ ? ] cron
[ + ] cups
[ ? ] dbus
[ ? ] dmesg
[ ? ] dns-clean
[ ? ] failsafe-x
[ - ] fancontrol
[ ? ] gdm
[ - ] grub-common
[ ? ] hostname
[ ? ] hwclock
[ ? ] hwclock-save
[ ? ] irqbalance
[ - ] kerneloops
[ ? ] killprocs
[ - ] lm-sensors
[ ? ] module-init-tools
[ ? ] network-interface
[ ? ] network-interface-security
[ ? ] network-manager
[ ? ] networking
[ ? ] ondemand
[ ? ] pcmciautils
[ ? ] plymouth
[ ? ] plymouth-log
[ ? ] plymouth-splash
[ ? ] plymouth-stop
[ ? ] pppd-dns
[ ? ] procps
[ + ] pulseaudio
[ ? ] rc.local
[ - ] rsync
[ ? ] rsyslog
[ - ] saned
[ ? ] screen-cleanup
[ ? ] sendsigs
[ ? ] speech-dispatcher
[ ? ] stop-bootlogd
[ ? ] stop-bootlogd-single
[ ? ] udev
[ ? ] udev-finish
[ ? ] udevmonitor
[ ? ] udevtrigger
[ ? ] ufw
[ ? ] umountfs
[ ? ] umountnfs.sh
[ ? ] umountroot
[ ? ] unattended-upgrades
[ - ] urandom
[ ? ] wpa-ifupdown
[ - ] x11-common