mirror of
https://github.com/Snigdha-OS/snigdhaos-system-installation.git
synced 2025-09-21 22:04:55 +02:00
@eshanized: push via push.sh!!!
This commit is contained in:
16
usr/local/bin/snigdhaos-all-cores
Normal file
16
usr/local/bin/snigdhaos-all-cores
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
#!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 ''
|
Reference in New Issue
Block a user