歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Gentoo Linux 出現 net.eth0 waiting for localmount 50s 錯誤

Gentoo Linux 出現 net.eth0 waiting for localmount 50s 錯誤

日期:2017/2/28 15:34:16   编辑:Linux教程

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

將其注視掉即可

Copyright © Linux教程網 All Rights Reserved