- 论坛徽章:
- 54
|
/etc/rc.local 是按顺序的.
chkconfig 是看运行级别...
比如 init 3 的情况下,
你可以查看 /etc/rc3.d
里面有 S 开头的, 就是 start 后面的数字就是顺序....- lrwxrwxrwx. 1 root root 17 May 25 11:29 S13rpcbind -> ../init.d/rpcbind
- lrwxrwxrwx. 1 root root 17 May 25 11:34 S14nfslock -> ../init.d/nfslock
- lrwxrwxrwx. 1 root root 19 May 25 11:34 S15mdmonitor -> ../init.d/mdmonitor
- lrwxrwxrwx. 1 root root 17 May 25 11:34 S19rpcgssd -> ../init.d/rpcgssd
- lrwxrwxrwx. 1 root root 15 May 25 11:36 S20kdump -> ../init.d/kdump
- lrwxrwxrwx. 1 root root 20 May 25 11:26 S22messagebus -> ../init.d/messagebus
- lrwxrwxrwx. 1 root root 26 May 25 11:36 S25blk-availability -> ../init.d/blk-availability
- lrwxrwxrwx. 1 root root 14 May 25 11:32 S25cups -> ../init.d/cups
- lrwxrwxrwx. 1 root root 15 May 25 11:31 S25netfs -> ../init.d/netfs
- lrwxrwxrwx. 1 root root 15 May 25 11:36 S26acpid -> ../init.d/acpid
- lrwxrwxrwx. 1 root root 19 May 25 11:34 S26haldaemon -> ../init.d/haldaemon
- lrwxrwxrwx. 1 root root 19 May 25 11:31 S26udev-post -> ../init.d/udev-post
- lrwxrwxrwx. 1 root root 16 May 25 11:35 S28autofs -> ../init.d/autofs
- lrwxrwxrwx. 1 root root 14 May 25 11:36 S55sshd -> ../init.d/sshd
- lrwxrwxrwx. 1 root root 17 May 25 11:34 S80postfix -> ../init.d/postfix
- lrwxrwxrwx. 1 root root 19 May 25 11:30 S82abrt-ccpp -> ../init.d/abrt-ccpp
- lrwxrwxrwx. 1 root root 15 May 25 11:30 S82abrtd -> ../init.d/abrtd
- lrwxrwxrwx. 1 root root 15 May 25 11:34 S90crond -> ../init.d/crond
- lrwxrwxrwx. 1 root root 13 May 25 11:29 S95atd -> ../init.d/atd
- lrwxrwxrwx. 1 root root 11 May 25 11:31 S99local -> ../rc.local
复制代码 |
|