Last change
on this file since 165 was
162,
checked in by rock, 14 years ago
|
Add: install.sh
|
-
Property svn:executable set to
*
|
File size:
525 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # Program: |
---|
3 | # Install DRBL virt module |
---|
4 | # Author: |
---|
5 | # Jazz, Rock {jazz, rock}@nchc.org.tw |
---|
6 | # Version: |
---|
7 | # 1.0 |
---|
8 | # History: |
---|
9 | # 2010/08/03 Rock First release (1.0) |
---|
10 | |
---|
11 | # [PATH] |
---|
12 | Work_Home="/opt/drbl-virt" |
---|
13 | Work_Path="/opt/drbl-virt/sbin" |
---|
14 | Now_path="pwd $0" |
---|
15 | PATH=${PATH}:$Work_Path |
---|
16 | |
---|
17 | # [Source] |
---|
18 | source funs_drbl_virt |
---|
19 | |
---|
20 | # [Main] |
---|
21 | # |
---|
22 | check_root |
---|
23 | |
---|
24 | mkdir -p $Work_Home |
---|
25 | cp -r $Now_path/sbin $Work_Path/ |
---|
26 | cp -r $Now_path/conf $Work_Path/ |
---|
27 | |
---|
Note: See
TracBrowser
for help on using the repository browser.