source: nutchez-0.2/src/test/client_start @ 120

Last change on this file since 120 was 120, checked in by rock, 14 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
10if [ $USER != "root" ]; then
11    echo -e "\nChange root to execute, plz input root password!"
12    su -c ./client_install.sh
13else
14    echo -e "\nStart to..."
15    ./client_install.sh
16fi
17
Note: See TracBrowser for help on using the repository browser.