Update mm-scripts.sh
This commit is contained in:
@@ -319,7 +319,7 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
|
||||
rm -f ${MMFOLDER}/mm.plexmount.fail
|
||||
fi
|
||||
|
||||
[ "${1}" == "start" ] && rm -f ${MMFOLDER}/mm.noservices
|
||||
[ "${1}" == "start" ] && [ "${2}" != "vpn" ] && rm -f ${MMFOLDER}/mm.noservices
|
||||
if [ "${2}" != "vpn" ] && [ ! -f ${MMFOLDER}/mm.noservices ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail ]; then
|
||||
|
||||
msg="${mmsv} Services"
|
||||
@@ -781,7 +781,7 @@ if [ ! -f ${MMFOLDER}/mm.update.stop ]; then
|
||||
fi
|
||||
fi
|
||||
[ "${action}" != "status" ] && touch ${MMFOLDER}/mm.stop.checking
|
||||
[ "${action}" == "start" ] && [ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
|
||||
[ "${2}" == "vpn" ] && touch ${MMFOLDER}/mm.noservices
|
||||
MMSTART ${action} ${2}
|
||||
[ "${action}" != "status" ] && rm -f ${MMFOLDER}/mm.stop.checking
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user