码迷,mamicode.com
首页 > 其他好文 > 详细

fuelSources

时间:2014-07-09 21:00:48      阅读:197      评论:0      收藏:0      [点我收藏+]

标签:cti   for   io   amp   res   app   

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

 

fuelSources,布布扣,bubuko.com

fuelSources

标签:cti   for   io   amp   res   app   

原文地址:http://www.cnblogs.com/ruiy/p/fuelSource.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!