Last change
on this file since 120 was
120,
checked in by rock, 15 years ago
|
client_start
|
-
Property svn:executable set to
*
|
File size:
395 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | # Program: |
---|
3 | # Check root identity and change root to exectue client_install.sh |
---|
4 | # Author: |
---|
5 | # Waue, Shunfa, Rock {waue, shunfa, rock}@nchc.org.tw |
---|
6 | # History: |
---|
7 | # 2010/05/20 Rock First release |
---|
8 | |
---|
9 | |
---|
10 | if [ $USER != "root" ]; then |
---|
11 | echo -e "\nChange root to execute, plz input root password!" |
---|
12 | su -c ./client_install.sh |
---|
13 | else |
---|
14 | echo -e "\nStart to..." |
---|
15 | ./client_install.sh |
---|
16 | fi |
---|
17 | |
---|
Note: See
TracBrowser
for help on using the repository browser.