|
|
@ -137,7 +137,6 @@ collecting() { |
|
|
|
source /etc/os-release || source /usr/lib/os-release |
|
|
|
source /etc/os-release || source /usr/lib/os-release |
|
|
|
[[ $ID = 'centos' ]] || error=1 |
|
|
|
[[ $ID = 'centos' ]] || error=1 |
|
|
|
[[ $error -eq 1 ]] && msg_err "Sorry! current system is not supported." && exit 1 |
|
|
|
[[ $error -eq 1 ]] && msg_err "Sorry! current system is not supported." && exit 1 |
|
|
|
[[ -f $RUNPATH ]] && rm -f $RUNPATH |
|
|
|
|
|
|
|
cp $C_DIR/$FILENAME $RUNPATH && chmod 755 $RUNPATH |
|
|
|
cp $C_DIR/$FILENAME $RUNPATH && chmod 755 $RUNPATH |
|
|
|
if [ $# != 0 ]; then |
|
|
|
if [ $# != 0 ]; then |
|
|
|
for param in {$1,$2,$3} |
|
|
|
for param in {$1,$2,$3} |
|
|
|