Update mm-scripts.sh
This commit is contained in:
@@ -1186,8 +1186,7 @@ SERVICERESTORE(){
|
|||||||
fname=${bakfile##*/}
|
fname=${bakfile##*/}
|
||||||
fdate=${fname#*.}; fdate=${fdate%.*}
|
fdate=${fname#*.}; fdate=${fdate%.*}
|
||||||
IFS='-'; read -a f_date <<< "${fdate}"; unset IFS
|
IFS='-'; read -a f_date <<< "${fdate}"; unset IFS
|
||||||
if [ ${f_date[3]} -gt 12 ]
|
if [ ${f_date[3]} -gt 12 ]; then
|
||||||
then
|
|
||||||
hr=`expr ${f_date[3]} - 12`
|
hr=`expr ${f_date[3]} - 12`
|
||||||
ma=pm
|
ma=pm
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user