Update mm-scripts.sh

This commit is contained in:
2023-04-22 22:02:56 -05:00
parent 4c73e4b112
commit d5b3daebbd

View File

@@ -334,16 +334,16 @@ PersistentKeepalive = 25" >> /etc/wireguard/${VPN_INTERFACE}.conf
fi fi
if [ -f ${MMFOLDER}/mm.plexmount.fail ] && [ "${1}" == "start" ] && [ "${2}" != "vpn" ]; then if [ -f ${MMFOLDER}/mm.plexmount.fail ] && [ "${1}" == "start" ] && [ "${2}" != "vpn" ]; then
echo -en "${idsCL[LightCyan]}Would you like to start services without Plex Media being mounted? (y/N)? ${idsCL[Default]}" echo -en "${idsCL[LightCyan]}Would you like to start services without Plex Media being mounted? ${idsCL[LightYellow]}(y/N)${idsCL[LightCyan]}? ${idsCL[Default]}"
read -n 1 choice read -n 1 choice
case "$choice" in case "$choice" in
[Yy]) [Yy])
rm -f ${MMFOLDER}/mm.plexmount.fail* rm -f ${MMFOLDER}/mm.plexmount.fail*
touch ${MMFOLDER}/mm.plexmount.fail2 touch ${MMFOLDER}/mm.plexmount.fail2
echo echo;echo
;; ;;
* ) * )
echo echo;echo
;; ;;
esac esac