diff --git a/mm-scripts.sh b/mm-scripts.sh index cc4bc50..d45b9a5 100755 --- a/mm-scripts.sh +++ b/mm-scripts.sh @@ -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)" diff --git a/run.sh b/run.sh index 968ec45..082c4f0 100755 --- a/run.sh +++ b/run.sh @@ -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))