Changeset 171 for drbl-virt/install.sh


Ignore:
Timestamp:
Aug 10, 2010, 4:00:31 PM (15 years ago)
Author:
rock
Message:

Add: DRBL patch for Xen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • drbl-virt/install.sh

    r162 r171  
    1212Work_Home="/opt/drbl-virt"
    1313Work_Path="/opt/drbl-virt/sbin"
    14 Now_path="pwd $0"
     14Now_Path="$(dirname $0)"
    1515PATH=${PATH}:$Work_Path
    1616
    1717# [Source]
    18 source funs_drbl_virt
     18source $Now_Path/sbin/functions_drbl_virt
    1919
    2020# [Main]
     
    2323
    2424mkdir -p $Work_Home
    25 cp -r $Now_path/sbin $Work_Path/
    26 cp -r $Now_path/conf $Work_Path/
    27 
     25cp -fr $Now_Path/sbin $Work_Home/
     26cp -fr $Now_Path/conf $Work_Home/
     27cp  -fr $Now_Path/uninstall.sh $Work_Home/
Note: See TracChangeset for help on using the changeset viewer.