TOP > Linux > Fedoraの技 > 001-100 > 100
ランレベルによるサービスの起動(ntsysv編)
chkconfigコマンドを使いランレベルによるサービスの起動を設定できますが、ntsysvコマンドを使うとサービス一覧表の中から選択することが出来ます。
現在ランレベル3でbluetoothのサービスは無効です。
# ls /etc/rc3.d/ | grep bluetooth
K90bluetooth
ntsysvコマンドを利用しbluetoothを有効にします。
# ntsysv
するとntsysvが有効になったことが分かります。--levelオプションでランレベルを指定しない場合(初期値)は現在のランレベルのみで有効になります。
# ls /etc/rc3.d/ | grep bluetooth
S25bluetooth
# chkconfig --list bluetooth
bluetooth 0:off 1:off 2:off 3:on 4:off 5:off 6:off
2005-12-03 作成