Ignore:
Timestamp:
Jun 14, 2010, 6:04:14 PM (14 years ago)
Author:
rock
Message:

新增語言檔 (client_install)

File:
1 edited

Legend:

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

    r169 r188  
    3535}
    3636
     37# Language Choice
     38choose_lang
     39
    3740# 參數詢問
    3841yesno="no"
    39 show_info "Your master IP: $Master_IP_Address"
    40 read -p "Is this data cooect? (yes/no): " yesno
     42show_info "$par_echo_1 $Master_IP_Address"
     43read -p "$par_echo_2" yesno
    4144             
    4245if [ "$yesno" == "yes" ] || [ "$yesno" == "y" ] ; then
    43     show_info "These parameters are correct."
     46    show_info "$par_echo_3"
    4447else
    45     show_info "Please edit these parameters in this file."
     48    show_info "$par_echo_4"
    4649    exit
    4750fi
    4851
    49 # 功能邏輯區
    50 
    51 
    52 # 程式邏輯區
    5352
    5453# 檢查執行這個程式的是否為root權限
     
    8281read
    8382
    84 
    8583# 新增nutchuser 帳號時用 Nutchuser_Passwd 當密碼
    8684creat_nutchuser_account
    8785read
    88 
    8986
    9087# scp nutchuser@master_ip:~ 把.ssh/目錄複製下來
     
    9390scp_master_nutchuser_sshkey $Master_IP_Address
    9491read
    95 
    9692
    9793# 用scp 複製 master 的設定與安裝資料
Note: See TracChangeset for help on using the changeset viewer.