Merge branch 'dev'
This commit is contained in:
@@ -1313,7 +1313,7 @@ USAGE(){
|
|||||||
echo -e " ${idsCL[Yellow]}vpninfo ${idsCL[Default]}--> Show VPN Info"
|
echo -e " ${idsCL[Yellow]}vpninfo ${idsCL[Default]}--> Show VPN Info"
|
||||||
echo -e " ${idsCL[Yellow]}speedtest ${idsCL[Default]}--> Run Speedtest Comparison with VPN"
|
echo -e " ${idsCL[Yellow]}speedtest ${idsCL[Default]}--> Run Speedtest Comparison with VPN"
|
||||||
echo
|
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]}clear ${idsCL[Default]}--> Clear all tmp files"
|
||||||
echo -e " ${idsCL[Yellow]}update ${idsCL[Default]}--> Check for and install new updates"
|
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)"
|
echo -e " ${idsCL[Yellow]}setup ${idsCL[Default]}--> Setup/Reconfigure Settings (Network/MM Config/SSHFS Mount)"
|
||||||
@@ -1417,3 +1417,5 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
2
run.sh
2
run.sh
@@ -85,7 +85,7 @@ if [ "${1}" == "update" ]; then
|
|||||||
|
|
||||||
else
|
else
|
||||||
if [ "${1}" == "clear" ]; then
|
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
|
fi
|
||||||
if [ -f ${MMFOLDER}/mm.stop.checking ]; then
|
if [ -f ${MMFOLDER}/mm.stop.checking ]; then
|
||||||
#fd=$(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking))
|
#fd=$(expr $(date +%s) - $(stat -L --format %Y ${MMFOLDER}/mm.stop.checking))
|
||||||
|
|||||||
Reference in New Issue
Block a user