#!/bin/bash # Program: # Check root identity and change root to exectue client_install.sh # Author: # Waue, Shunfa, Rock {waue, shunfa, rock}@nchc.org.tw # History: # 2010/05/20 Rock First release if [ $USER != "root" ]; then echo -e "\nChange root to execute, plz input root password!" su -c ./client_install.sh else echo -e "\nStart to..." ./client_install.sh fi