Update config remove space when removing maxcpus

master-b4
Alan Johnston 4 weeks ago committed by GitHub
parent 40345c7bd2
commit 155ebf978d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2260,7 +2260,7 @@ elif [ "$1" = "-V" ]; then
echo "No change to maxcpus"
elif [ $NEWCPU == "0" ] ; then
echo "Removing maxcpus setting"
sudo sed -i "s/maxcpus=$CPUS//g" $CMDLINE
sudo sed -i "s/maxcpus=$CPUS //g" $CMDLINE
elif [ $NEWCPU == "1" ] || [ $NEWCPU == "2" ] || [ $NEWCPU == "3" ] ; then
echo "Setting maxcpus="$NEWCPU
if [ -z "$CPUS" ] ; then

Loading…
Cancel
Save

Powered by TurnKey Linux.