Ignore:
Timestamp:
May 25, 2010, 3:32:41 PM (14 years ago)
Author:
rock
Message:

先增參數(Master_IP_Address, Nutchuser_Passwd)確認
修改2函式(creat_nutchuser_account, scp_master_nutchuser_sshkey)的錯誤偵測

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/test/client_install.sh

    r128 r129  
    1919Linux_Version="";
    2020Nutchuser_Passwd="xxxxxxxx";
     21
     22# 參數詢問
     23yesno="no"   
     24echo -e "\nYour master IP: $Master_IP_Address"
     25echo -e "Your Nutchuser Password: $Nutchuser_Passwd"
     26read -p "These data are cooect? (yes/no): " yesno
     27             
     28if [ "$yesno" == "no" ];then
     29    echo "Plz edit these parameters of this file."
     30    exit     
     31    else     
     32#    echo "yes"                                                                                   
     33fi
    2134
    2235# 功能邏輯區
Note: See TracChangeset for help on using the changeset viewer.