Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 33 lines (28 sloc) 401 Bytes
#!/bin/bash
#have we got a paramater ?
if [ -z ${1+x} ]
then
num_cpu=64
else
num_cpu=$1
fi
#not greater than 1000
if [ $num_cpu -gt 1000 ]
then
num_cpu=1000
fi
source funcs.sh
for ((cpu=$num_cpu-1; cpu>=0; cpu--))
do
links=""
for ((lcpu=$cpu-1; lcpu<=$cpu+1; lcpu++))
do
wrap $lcpu
zero_pad $cpu
c1=$zp
zero_pad $wp
c2=$zp
add_link $c1 $c2
done
boot_cpu_gui $cpu "$links"
done
You can’t perform that action at this time.