aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/run.sh b/run.sh
index dfe5fb9..cf9a4dd 100755
--- a/run.sh
+++ b/run.sh
@@ -4,6 +4,7 @@ set -e
nob_cpus() {
echo "[+] Setting non-boot CPUs to status $1"
for i in /sys/devices/system/cpu/*/online; do
+ [[ $i == *cpu0* ]] && continue
echo "$1" > "$i"
done
}