View previous topic :: View next topic |
Author |
Message |
LonelyCoyote n00b
Joined: 26 May 2010 Posts: 17
|
Posted: Sun Jul 18, 2010 1:25 pm Post subject: 如何让守护进程在后台启动,就是不等它启动完毕就继续启动系统 |
|
|
如何让守护进程在后台启动,就是不等它启动完毕就继续启动系统。
Archlinux可以在守护进程前面添加@符号,即:
DAEMONS=(@network @hal @alsa)
Gentoo里该怎么做呢? |
|
Back to top |
|
|
showboy n00b
Joined: 26 Jun 2010 Posts: 9
|
Posted: Tue Jul 20, 2010 3:02 pm Post subject: |
|
|
比如
rc-update add sshd default
就像这样,不过你要先emerge sshd |
|
Back to top |
|
|
LonelyCoyote n00b
Joined: 26 May 2010 Posts: 17
|
Posted: Wed Jul 21, 2010 1:55 pm Post subject: |
|
|
开机时net.eth0总是耗费很长时间启动,最终time out,有没有什么办法缩短时间? |
|
Back to top |
|
|
showboy n00b
Joined: 26 Jun 2010 Posts: 9
|
Posted: Wed Jul 21, 2010 6:03 pm Post subject: |
|
|
rc-update del net.eth0 |
|
Back to top |
|
|
LonelyCoyote n00b
Joined: 26 May 2010 Posts: 17
|
Posted: Thu Jul 22, 2010 8:24 am Post subject: |
|
|
....................
总之谢了。 |
|
Back to top |
|
|
jixiuf n00b
Joined: 30 Sep 2010 Posts: 1
|
Posted: Thu Sep 30, 2010 2:20 pm Post subject: |
|
|
jixiuf scripts $ cat /etc/dhcpcd.conf
# A sample configuration for dhcpcd.
# See dhcpcd.conf(5) for details.
# dhcpcd-run-hooks uses these options.
option domain_name_servers, domain_name, domain_search, host_name
# Most distros have ntp support.
option ntp_servers
background
# We should behave nicely on networks and respect their MTU.
# However, a lot of buggy DHCP servers set invalid MTUs so this is not
# enabled by default.
#option interface_mtu
jixiuf scripts $ |
|
Back to top |
|
|
|