Update mm-scripts.sh
This commit is contained in:
1 parent
0a808f8c4a
commit
ed78015c70
1 file changed
+5
-1
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user