红联Linux门户
Linux帮助

Gentoo Linux出现net.eth0 waiting for localmount 50s错误

发布时间:2014-08-23 10:17:52来源:linux网站作者:euaeu

Code Listing 4.4: Running an init script as first script in the runlevel
 
depend() {
before *
}

If your service must write to local disks, it should need localmount. If it places anything in /var/run such as a pidfile, then it should start after bootmisc:

Code Listing 4.5: Example depend() function
 
depend() {
need localmount
after bootmisc
}


编辑nano -w /etc/init.d/net.eth0

找到need localmount

将其注视掉即可。