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