难道是我以前用 update-rc.d 删除vboxdrv服务了吗...
代码: 全选
xyz@benben:/etc$ ll rc?.d
rc0.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:08 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:08 K09apache2 -> ../init.d/apache2*
lrwxrwxrwx 1 root root 29 Sep 18 18:55 K10unattended-upgrades -> ../init.d/unattended-upgrades*
lrwxrwxrwx 1 root root 20 Sep 18 18:55 K20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 K20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 K20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx 1 root root 20 Sep 25 16:48 K20virtualbox -> ../init.d/virtualbox*
-rw-r--r-- 1 root root 353 Mar 13 2014 README
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S20sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx 1 root root 17 Sep 18 18:55 S30urandom -> ../init.d/urandom*
lrwxrwxrwx 1 root root 22 Sep 18 18:55 S31umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S40umountfs -> ../init.d/umountfs*
lrwxrwxrwx 1 root root 20 Sep 18 18:55 S60umountroot -> ../init.d/umountroot*
lrwxrwxrwx 1 root root 14 Sep 18 18:55 S90halt -> ../init.d/halt*
rc1.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:08 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:08 K09apache2 -> ../init.d/apache2*
lrwxrwxrwx 1 root root 20 Sep 18 18:55 K20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 K20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 K20saned -> ../init.d/saned*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 K20speech-dispatcher -> ../init.d/speech-dispatcher*
[color=#FF0000]lrwxrwxrwx 1 root root 20 Sep 25 16:48 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx 1 root root 19 Sep 18 18:55 K70dns-clean -> ../init.d/dns-clean*
-rw-r--r-- 1 root root 369 Mar 13 2014 README
lrwxrwxrwx 1 root root 19 Sep 18 18:55 S30killprocs -> ../init.d/killprocs*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx 1 root root 16 Sep 18 18:55 S90single -> ../init.d/single*
rc2.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*
[color=#FF0000]lrwxrwxrwx 1 root root 20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx 1 root root 19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r-- 1 root root 677 Mar 13 2014 README
lrwxrwxrwx 1 root root 20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx 1 root root 21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*
rc3.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*
[color=#FF0000]lrwxrwxrwx 1 root root 20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx 1 root root 19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r-- 1 root root 677 Mar 13 2014 README
lrwxrwxrwx 1 root root 20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx 1 root root 21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*
rc4.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*[color=#FF0000]
lrwxrwxrwx 1 root root 20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx 1 root root 19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r-- 1 root root 677 Mar 13 2014 README
lrwxrwxrwx 1 root root 20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx 1 root root 21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*
rc5.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:22 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:22 K09apache2 -> ../init.d/apache2*
[color=#FF0000]lrwxrwxrwx 1 root root 20 Sep 25 18:58 K20virtualbox -> ../init.d/virtualbox*[/color]
lrwxrwxrwx 1 root root 19 Sep 25 18:57 K30dns-clean -> ../init.d/dns-clean*
-rw-r--r-- 1 root root 677 Mar 13 2014 README
lrwxrwxrwx 1 root root 20 Sep 18 18:55 S20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 S20speech-dispatcher -> ../init.d/speech-dispatcher*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 S50saned -> ../init.d/saned*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S70pppd-dns -> ../init.d/pppd-dns*
lrwxrwxrwx 1 root root 21 Sep 18 18:55 S99grub-common -> ../init.d/grub-common*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99ondemand -> ../init.d/ondemand*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S99rc.local -> ../init.d/rc.local*
rc6.d:
total 20K
drwxr-xr-x 2 root root 4.0K Sep 25 19:08 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 17 Sep 25 19:08 K09apache2 -> ../init.d/apache2*
lrwxrwxrwx 1 root root 29 Sep 18 18:55 K10unattended-upgrades -> ../init.d/unattended-upgrades*
lrwxrwxrwx 1 root root 20 Sep 18 18:55 K20kerneloops -> ../init.d/kerneloops*
lrwxrwxrwx 1 root root 15 Sep 18 18:55 K20rsync -> ../init.d/rsync*
lrwxrwxrwx 1 root root 27 Sep 18 18:55 K20speech-dispatcher -> ../init.d/speech-dispatcher*
[color=#FF0000]lrwxrwxrwx 1 root root 20 Sep 25 16:48 K20virtualbox -> ../init.d/virtualbox*[/color]
-rw-r--r-- 1 root root 351 Mar 13 2014 README
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S20sendsigs -> ../init.d/sendsigs*
lrwxrwxrwx 1 root root 17 Sep 18 18:55 S30urandom -> ../init.d/urandom*
lrwxrwxrwx 1 root root 22 Sep 18 18:55 S31umountnfs.sh -> ../init.d/umountnfs.sh*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S40umountfs -> ../init.d/umountfs*
lrwxrwxrwx 1 root root 20 Sep 18 18:55 S60umountroot -> ../init.d/umountroot*
lrwxrwxrwx 1 root root 16 Sep 18 18:55 S90reboot -> ../init.d/reboot*
rcS.d:
total 20K
drwxr-xr-x 2 root root 4.0K Oct 10 11:04 ./
drwxr-xr-x 148 root root 12K Oct 11 08:28 ../
lrwxrwxrwx 1 root root 20 Oct 10 11:04 K30x11-common -> ../init.d/x11-common*
-rw-r--r-- 1 root root 447 Mar 13 2014 README
lrwxrwxrwx 1 root root 15 Sep 25 19:26 S20acpid -> ../init.d/acpid*
lrwxrwxrwx 1 root root 17 Sep 25 19:26 S20anacron -> ../init.d/anacron*
lrwxrwxrwx 1 root root 16 Sep 18 18:55 S25brltty -> ../init.d/brltty*
lrwxrwxrwx 1 root root 18 Sep 18 18:55 S37apparmor -> ../init.d/apparmor*
lrwxrwxrwx 1 root root 17 Sep 18 18:55 S55urandom -> ../init.d/urandom*
xyz@benben:/etc$
Virtualbox 4.3.10
Linux benben 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
问题:
1. K20virtualbox -> ../init.d/virtualbox
为什么一个服务会在好几个运行级别里面出现.?
2. K 代表的是 脚本以 Stop方式执行, S代表的是以Start 执行?