mirror of
https://github.com/Snigdha-OS/snigdhaos-system-installation.git
synced 2025-12-06 12:53:51 +01:00
16 lines
381 B
Bash
16 lines
381 B
Bash
#!bin/bash
|
|
set -e
|
|
|
|
# Author : Eshan Roy <eshan@snigdhaos.or>
|
|
# Author URL : https://eshanized.github.io/
|
|
|
|
echo
|
|
echo "--->> Start snigdhaos-all-cores <<---"
|
|
echo
|
|
|
|
numberofcores=$(grep -c ^processor /proc/cpuinfo)
|
|
|
|
if [ $numberofcores -gt 1 ]; then
|
|
echo "TOTAL CORES : "$numberofcores
|
|
echo "Changing makeflags for "$numberofcores "cores."
|
|
sudo sed -i '' |