Update config remove maxcpus command line

master-b4
Alan Johnston 3 months ago committed by GitHub
parent 155ebf978d
commit 67c8ff9d1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.