update
This commit is contained in:
@@ -1101,7 +1101,7 @@ SERVICEBACKUP(){
|
||||
|
||||
msg="Backing Up Service"; c=0; spc=''; spc1=$((${cw_spc}-${#msg})); until [ $c = ${spc1} ]; do spc="${spc} "; c=`expr $c + 1`; done
|
||||
echo -en "${idsCL[White]}${msg}${spc} : ${idsCL[Default]}"
|
||||
BACKUPDIR=/opt/Backups/${usrvc}
|
||||
BACKUPDIR=${NM_BACKUP_FOLDER}/${usrvc}
|
||||
[ ! -d ${BACKUPDIR} ] && mkdir -p ${BACKUPDIR}
|
||||
[ "${MM_SERVICE_APP[$usrvc]}" != "" ] && APPBAKFOLDER=${MM_SERVICE_APP[$usrvc]} || APPBAKFOLDER=/opt/${usrvc^}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user