Changeset 244 for nutchez-0.2/src/shell/client_remove
- Timestamp:
- Jul 1, 2010, 4:33:15 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
nutchez-0.2/src/shell/client_remove
r242 r244 10 10 11 11 12 source lang_link13 12 # 需要 master_install 設定的參數區 14 13 # Master IP here … … 31 30 } 32 31 ##########end echo function ########## 32 33 function load_default_lang(){ 34 35 lang=$(locale | grep 'LANG=' | cut -d "=" -f2) 36 37 # Default: source english 38 . lang/lang_en_US 39 # if locale is zh then source chinese 40 41 echo $lang | grep 'zh' >> /dev/null && source lang/lang_zh_TW 42 } 43 44 33 45 34 46 # check root … … 80 92 # Main function 81 93 function main () { 94 load_default_lang 82 95 check_root 83 96 show_info "$CR_main_echo_1" #"警告 - 此一程式為移除此用戶端的nutch node, 若您為誤執行此一程式, 請按Ctrl+c離開此程序!"
Note: See TracChangeset
for help on using the changeset viewer.