diff --git a/config b/config index 36822f34..e2cfb713 100755 --- a/config +++ b/config @@ -2281,6 +2281,9 @@ elif [ "$1" = "-V" ]; then else sudo sed -i "s/maxcpus=$CPUS/maxcpus=$param2/g" $CMDLINE fi + if [ "$param2" == "0" ] ; then + echo "Removing maxcpus setting" + sudo sed -i "s/maxcpus=$CPUS //g" $CMDLINE else echo "invalid maxcpus value. No change mode." fi