Update mm-scripts.sh

This commit is contained in:
2023-04-22 17:47:17 -05:00
parent 0a808f8c4a
commit ed78015c70

View File

@@ -971,7 +971,11 @@ MMSETUP(){
echo -e "${idsCL[Green]}Done${idsCL[Default]}"
echo
[ `hostname` != ${HOSTNAME} ] || [ $REPIP != $IPADDRESS ] || [ $REPSUB != $NEWUB ] || [ $REPGW != $GATEWAY ] || [ $REPDNS != $DNS ] && NETCHNG=true || NETCHNG=false
if [ $(hostname) != ${HOSTNAME} ] || [ $REPIP != $IPADDRESS ] || [ $REPSUB != $NEWUB ] || [ $REPGW != $GATEWAY ] || [ $REPDNS != $DNS ]; then
NETCHNG=true
else
NETCHNG=false
fi
;;
esac