Merge branch 'dev'

This commit is contained in:
2023-04-27 22:07:07 -05:00
2 changed files with 4 additions and 2 deletions

View File

@@ -1313,7 +1313,7 @@ USAGE(){
echo -e " ${idsCL[Yellow]}vpninfo ${idsCL[Default]}--> Show VPN Info"
echo -e " ${idsCL[Yellow]}speedtest ${idsCL[Default]}--> Run Speedtest Comparison with VPN"
echo
echo -e " ${idsCL[Yellow]}check ${idsCL[Default]}--> Crontab job for maintaining system (run */1 min)"
echo -e " ${idsCL[Yellow]}cron ${idsCL[Default]}--> Crontab job for maintaining system (run */1 min)"
echo -e " ${idsCL[Yellow]}clear ${idsCL[Default]}--> Clear all tmp files"
echo -e " ${idsCL[Yellow]}update ${idsCL[Default]}--> Check for and install new updates"
echo -e " ${idsCL[Yellow]}setup ${idsCL[Default]}--> Setup/Reconfigure Settings (Network/MM Config/SSHFS Mount)"
@@ -1417,3 +1417,5 @@ exit 0

2
run.sh
View File

@@ -85,7 +85,7 @@ if [ "${1}" == "update" ]; then
else
if [ "${1}" == "clear" ]; then
rm -f ${MMFOLDER}/mm.*
[ ! -f ${MMFOLDER}/mm.stop ] && rm -f ${MMFOLDER}/mm.* || rm -f ${MMFOLDER}/mm.*; touch ${MMFOLDER}/mm.stop
fi
if [ -f ${MMFOLDER}/mm.stop.checking ]; then
#fd=$(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking))