fuelSources

function countdown() {

local i;

sleep 1

for ((i=$1 - 1;i>=1;i--));do

  printf '\b\b%02d' "$i"

  sleep 1

done

}

export LANG=en_US.UTF8;

if [ -f /root/.showfuelmenu ];then

./root/.showfuelmenu

fi

if [[ "$showmenu" == "yes" || "showmenu" == "YES" ]];then

fuelmenu

else

echo

echo -n "press a key to enter Fuel Setup (or press ESC to skip)... 15"

countdown 15 & pid=$!

if ! read -s -n 1 -t 15 key;then

echo -e "\nSkipping Fuel Setup..."

echo -n "Applying default Fuel setings..."

fuelmenu --save-only --iface=eth0

上一篇:Mac os 下的文件权限管理


下一篇:速度 Github