update
This commit is contained in:
@@ -32,9 +32,6 @@ unset IFS
|
|||||||
noheader=' check noup update update-organizr cron '
|
noheader=' check noup update update-organizr cron '
|
||||||
allowrun=' status update stop vpninfo '
|
allowrun=' status update stop vpninfo '
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
declare -A MM_SERVICES
|
declare -A MM_SERVICES
|
||||||
MM_SERVICES['openvpn']='OpenVPN (TorGuard VPN Tunnel)'
|
MM_SERVICES['openvpn']='OpenVPN (TorGuard VPN Tunnel)'
|
||||||
MM_SERVICES['wireguard']='WireGuard (TorGuard VPN Tunnel)'
|
MM_SERVICES['wireguard']='WireGuard (TorGuard VPN Tunnel)'
|
||||||
|
|||||||
@@ -1179,6 +1179,8 @@ SERVICERESTORE(){
|
|||||||
for bakfile in ${BACKUPDIR}/${fcheck}.*.tgz; do
|
for bakfile in ${BACKUPDIR}/${fcheck}.*.tgz; do
|
||||||
fname=${bakfile##*/}
|
fname=${bakfile##*/}
|
||||||
fdate=${fname#*.}; fdate=${fdate%.*}
|
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}"
|
echo -e "[${f}] ${fdate} - ${fname}"
|
||||||
|
|
||||||
f=$((f+1))
|
f=$((f+1))
|
||||||
|
|||||||
Reference in New Issue
Block a user