标签:
环境:debian 7.0
1
|
id :2:initdefault: |
1
2
3
4
|
0 (halt the system) 1 (single-user / minimal mode), 2 through 5 (multiuser modes), 6 (reboot the system) |
1
|
runlevel |
1
|
init 3 |
1
|
ls /etc/rc2 .d |
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
|
S01motd -> .. /init .d /motd S13rpcbind -> .. /init .d /rpcbind S14nfs-common -> .. /init .d /nfs-common S16rsyslog -> .. /init .d /rsyslog S17apache2 -> .. /init .d /apache2 S18acpid -> .. /init .d /acpid S18atd -> .. /init .d /atd S18cron -> .. /init .d /cron S18mysql -> .. /init .d /mysql S18pptpd -> .. /init .d /pptpd S18ssh -> .. /init .d /ssh S19exim4 -> .. /init .d /exim4 S20bootlogs -> .. /init .d /bootlogs S21rc. local -> .. /init .d /rc . local S21rmnologin -> .. /init .d /rmnologin |
1
|
apt-get install sysv-rc-conf |
1
|
~/.bash_profile ~/.bash_login ~/.profile |
标签:
原文地址:http://www.cnblogs.com/niurougan/p/4196095.html