首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
Ubuntu: Waiting up to 60 seconds for network configuration
Type(Type) 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 ************)


(5,226 views)
[更多討論] 討論區 Windows, Linux, Perl, PHP, C/C++, Driver, Web 理論、應用、硬體、軟體

"Ubuntu: Waiting up to 60 seconds for network configuration" 傳統頁面(電腦版)

首頁 繪圖設計 工作閒聊 比賽活動 美術討論 標籤 圖片
傳統桌面版 [ 登入/註冊 ]
© Vovo2000.com Mobile Version 小哈手機版 2024