Update mm-scripts.sh

This commit is contained in:
2023-04-27 20:27:56 -05:00
parent 725ec34402
commit 44847f666c

View File

@@ -357,7 +357,6 @@ MMSTART(){
echo -en "${idsCL[LightCyan]}${msg}${spc} ${idsCL[White]}: ${idsCL[Default]}"
if [ "${2}" != "vpn" ] && [ ! -f ${MMFOLDER}/mm.noservices ] && [ ! -f ${MMFOLDER}/mm.plexmount.fail ]; then
echo 'yes'
for srvc in "${SERVICES_CHECK[@]}"; do
[ "$(systemctl is-active ${srvc})" != "active" ] && /bin/systemctl restart ${srvc}
done
@@ -538,7 +537,6 @@ MMSTOP(){
MMSTATUS(){
statusArray=(wireguard)
statusArray+=(${SERVICES_CHECK[@]})
echo $statusArray
echo
for srvc in "${statusArray[@]}"; do
c=0; spc=''