Ignore:
Timestamp:
May 28, 2010, 10:08:30 AM (14 years ago)
Author:
rock
Message:

修改部份功能,測試正常(於 Ubuntu 10.04 的桌機上測試)

File:
1 moved

Legend:

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

    r130 r132  
    1212. ./client_install_func.sh
    1313
    14 # 需要master_install 設定的參數區
     14# 需要 master_install 設定的參數區
    1515Master_IP_Address="a.a.a.a";
    1616
     
    2121
    2222# 參數詢問
    23 yesno="no"   
     23yesno="no"
    2424echo -e "\nYour master IP: $Master_IP_Address"
    2525echo -e "Your Nutchuser Password: $Nutchuser_Passwd"
    2626read -p "These data are cooect? (yes/no): " yesno
    2727             
    28 if [ "$yesno" == "no" ];then
    29     echo "Plz edit these parameters of this file."
    30     exit     
    31     else     
    32 #    echo "yes"                                                                                   
     28if [ "$yesno" == "yes" ] || [ "$yesno" == "y" ] ; then
     29    echo "These parameters are correct."
     30else
     31    echo "Plz edit these parameters in this file."
     32    exit
    3333fi
    3434
     
    4444# 查出此主機的作業系統,以及版本
    4545check_systemInfo
     46read
     47
     48# 安裝需要的套件 (目前只支援 deb 套件的系統自動安裝,yum或其他套件系統的則必須手動安裝)
     49# 需要套件名稱 ssh, expect, dialog
     50install_packages
    4651read
    4752
Note: See TracChangeset for help on using the changeset viewer.