Changeset 229


Ignore:
Timestamp:
Jun 25, 2010, 4:48:39 PM (14 years ago)
Author:
shunfa
Message:

變更檢查root的順序

Location:
nutchez-0.2/src/shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/shell/client_remove.sh

    r219 r229  
    8383  show_info "$CR_main_echo_2" #"本執行程序將會移除安裝nutchEZ時所新增的檔案及nutchuser使用者帳號"
    8484# 詢問是否繼續
     85  check_root
    8586  read -p "$CR_main_echo_3" confirm # "請問是否確定移除此一節點:1.確定 2.取消"
    8687# 確認移除
    8788  if [ $confirm -eq 1 ]; then
    88     check_root
    8989    shutdown_service
    9090    remove_folders
  • nutchez-0.2/src/shell/master_remove.sh

    r228 r229  
    104104  show_info "$MR_main_echo_2" #"本執行程序將會移除安裝nutchEZ時所新增的檔案及nutchuser使用者帳號"
    105105# 詢問是否繼續
     106  check_root
    106107  read -p "$MR_main_echo_3" confirm # "請問是否確定移除此一節點:1.確定 2.取消"
    107108# 確認移除
    108109  if [ $confirm -eq 1 ]; then
    109     check_root
    110110    shutdown_service
    111111    remove_folders
Note: See TracChangeset for help on using the changeset viewer.