This commit is contained in:
2023-07-10 20:41:23 -05:00
parent e4ed332dbc
commit ce5e5ee24f
2 changed files with 2 additions and 3 deletions

View File

@@ -32,9 +32,6 @@ unset IFS
noheader=' check noup update update-organizr cron '
allowrun=' status update stop vpninfo '
declare -A MM_SERVICES
MM_SERVICES['openvpn']='OpenVPN (TorGuard VPN Tunnel)'
MM_SERVICES['wireguard']='WireGuard (TorGuard VPN Tunnel)'

View File

@@ -1179,6 +1179,8 @@ SERVICERESTORE(){
for bakfile in ${BACKUPDIR}/${fcheck}.*.tgz; do
fname=${bakfile##*/}
fdate=${fname#*.}; fdate=${fdate%.*}
IFS='-'; read -a f_date <<< "${fdate}"; unset IFS
fdate="${f_date[1]}/${f_date[2]}/${f_date[0]} @ ${f_date[3]}:${f_date[4]}"
echo -e "[${f}] ${fdate} - ${fname}"
f=$((f+1))