首頁 美術繪圖 | 美術設計 | 熱門標籤 | 首選 | 首頁宣傳 | 近期作品 論壇: 發表 | 美術工作 | 美術比賽 | 展覽活動 | 美術相關 | 一般討論 | 美術同好 CG 討論 :: Photoshop | Painter | 3D 行動 | AMP

【 立即註冊 】 : 更改個人資料 : : 登入

會員名稱: 登入密碼: 保持登入

Ubuntu: Waiting up to 60 seconds for network configuration

發表新主題 回覆主題 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

| 1頁, 共1
人氣點閱:7737 發表人
Ubuntu: Waiting up to 60 seconds for network configuration 2014-12-18 11:34
/ / /

Edit /etc/init/failsafe.conf to make Waiting shorter

Ubuntu 14.04: Waiting up to 60 more seconds for network configuration





=> Waiting for network configuration...
=> Waiting up to 60 more seconds for network configuration...

Just change all "sleep 59" or "sleep xx" to "sleep 5" or "sleep 1"
to make these waiting for networking configuration and retries shorter.

代碼:


$ vi /etc/init/failsafe.conf

(*********** SNIP ************)

   # The point here is to wait for 2 minutes before forcibly booting
    # the system. Anything that is in an "or" condition with 'started
    # failsafe' in rc-sysinit deserves consideration for mentioning in
    # these messages. currently only static-network-up counts for that.

        sleep 5

    # Plymouth errors should not stop the script because we *must* reach
    # the end of this script to avoid letting the system spin forever
    # waiting on it to start.
        $PLYMOUTH message --text="Waiting for network configuration..." || :
        sleep 5

        $PLYMOUTH message --text="Waiting up to 60 more seconds for network conff
iguration..." || :
        sleep 5
        $PLYMOUTH message --text="Booting system without full network configuratt
ion..." || :

    # give user 1 second to see this message since plymouth will go
    # away as soon as failsafe starts.
        sleep 1
    exec initctl emit --no-wait failsafe-boot

(*********** SNIP ************)


________________

美術插畫設計案子報價系統 v0.1 Beta
爪哇禾雀
Type



繪圖畫廊設計藝廊
攝影相簿留言板
最愛收藏分類標籤
暱稱: Type
註冊: 2002-11-30
發表: 11171
來自: vovo2000.com
V幣: 901757





資訊相關理論、技術、管理、應用、產品等
發表新主題 回覆主題