Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
如何让守护进程在后台启动,就是不等它启动完毕就继续启动系统
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
LonelyCoyote
n00b
n00b


Joined: 26 May 2010
Posts: 17

PostPosted: Sun Jul 18, 2010 1:25 pm    Post subject: 如何让守护进程在后台启动,就是不等它启动完毕就继续启动系统 Reply with quote

如何让守护进程在后台启动,就是不等它启动完毕就继续启动系统。
Archlinux可以在守护进程前面添加@符号,即:

DAEMONS=(@network @hal @alsa)

Gentoo里该怎么做呢?
Back to top
View user's profile Send private message
showboy
n00b
n00b


Joined: 26 Jun 2010
Posts: 9

PostPosted: Tue Jul 20, 2010 3:02 pm    Post subject: Reply with quote

比如
rc-update add sshd default

就像这样,不过你要先emerge sshd
Back to top
View user's profile Send private message
LonelyCoyote
n00b
n00b


Joined: 26 May 2010
Posts: 17

PostPosted: Wed Jul 21, 2010 1:55 pm    Post subject: Reply with quote

开机时net.eth0总是耗费很长时间启动,最终time out,有没有什么办法缩短时间?
Back to top
View user's profile Send private message
showboy
n00b
n00b


Joined: 26 Jun 2010
Posts: 9

PostPosted: Wed Jul 21, 2010 6:03 pm    Post subject: Reply with quote

rc-update del net.eth0
Back to top
View user's profile Send private message
LonelyCoyote
n00b
n00b


Joined: 26 May 2010
Posts: 17

PostPosted: Thu Jul 22, 2010 8:24 am    Post subject: Reply with quote

....................
总之谢了。
Back to top
View user's profile Send private message
jixiuf
n00b
n00b


Joined: 30 Sep 2010
Posts: 1

PostPosted: Thu Sep 30, 2010 2:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum