Update mm-scripts.sh
This commit is contained in:
@@ -1196,11 +1196,9 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
[ ! -f ${MMFOLDER}/mm.stop ] && MMSTART ${action} ${2}
|
||||
[ "${action}" != "status" ] && rm -f ${MMFOLDER}/mm.stop.checking
|
||||
;;
|
||||
|
||||
stop)
|
||||
MMSTOP
|
||||
;;
|
||||
|
||||
restart)
|
||||
if [ -f ${MMFOLDER}/mm.stop ]; then
|
||||
echo -e "${stopmsg}"
|
||||
@@ -1213,7 +1211,6 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
|
||||
MMSTART ${action}
|
||||
;;
|
||||
|
||||
status)
|
||||
if [ -f ${MMFOLDER}/mm.stop ]; then
|
||||
echo -e "${stopmsg}"
|
||||
@@ -1221,17 +1218,16 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
fi
|
||||
MMSTATUS ${2}
|
||||
;;
|
||||
|
||||
setup)
|
||||
MMSETUP
|
||||
;;
|
||||
|
||||
vpninfo)
|
||||
GETVPNINFO
|
||||
;;
|
||||
|
||||
speedtest)
|
||||
VPNSPEEDTEST
|
||||
;;
|
||||
update);;
|
||||
|
||||
update-service)
|
||||
UPDATESERVICE ${2}
|
||||
;;
|
||||
@@ -1241,15 +1237,12 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
[ "${MM_UPDATE_REPO[${usrvc}]}" != "" ] && UPDATESERVICE ${usrvc}
|
||||
done
|
||||
;;
|
||||
|
||||
update-list)
|
||||
SHOWSRVCUPDATES
|
||||
;;
|
||||
|
||||
clear) echo -e "${idsCL[LightCyan]}Clearing all mm.* files ${idsCL[Default]}"
|
||||
echo
|
||||
;;
|
||||
|
||||
*) USAGE;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user