Update run.sh

This commit is contained in:
2022-06-16 19:29:05 -05:00
parent 9a6bd54826
commit b745d2428b

4
run.sh
View File

@@ -5,7 +5,7 @@ source /opt/idssys/defaults/colors.inc
if [ -f /opt/mm.checking ]; then
fd=$(( `date +%s` - `stat -L --format %Y /opt/mm.checking` ))
if [ ${fd} -gt 60 ]; then
if [ ${fd} -gt 900 ]; then
rm -f /opt/mm.checking
else
echo -e "${idsCL[LightCyan]}Try again later, 'mm' program currently in use...${idsCL[Default]}"
@@ -67,7 +67,7 @@ if [ ! -f /opt/mm.checking ]; then
fi
fi
/opt/idssys/mediamanager/mm-scripts.sh ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} ${10} ${11} ${12} ${13} ${14}
#rm -f /opt/mm.checking
rm -f /opt/mm.checking
fi
exit 0