Update mm-scripts.sh
This commit is contained in:
@@ -1213,7 +1213,15 @@ SERVICERESTORE(){
|
|||||||
echo -en "\n${idsCL[LightCyan]}Select a backup to restore: ${idsCL[White]}"
|
echo -en "\n${idsCL[LightCyan]}Select a backup to restore: ${idsCL[White]}"
|
||||||
read restore
|
read restore
|
||||||
|
|
||||||
echo ${rdates[${restore}]}
|
declare -a restorefiles
|
||||||
|
restorefiles[0]=full
|
||||||
|
for r in ${!rdates[@]}; do
|
||||||
|
restorefiles[${r}]=${rdates[${r}]}
|
||||||
|
[ ${r} -eq ${restore} ] && break
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
echo "${restorefiles[*]}"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user