Skip to content
Snippets Groups Projects
Commit 6dee9d74 authored by Jan-Tarek Butt's avatar Jan-Tarek Butt
Browse files

create CPU counter value

parent fcd903ec
Loading
...@@ -77,7 +77,7 @@ git clone https://github.com/freifunk-gluon/gluon.git ./gluon -b $GLUON_VERSION ...@@ -77,7 +77,7 @@ git clone https://github.com/freifunk-gluon/gluon.git ./gluon -b $GLUON_VERSION
mv gluon/* ./ mv gluon/* ./
make update || exit 1 make update || exit 1
#CPUS=$(grep -c processor /proc/cpuinfo) CPUS=$(grep -c processor /proc/cpuinfo)
while read line; do while read line; do
if [[ $line == *GluonTarget* ]]; then if [[ $line == *GluonTarget* ]]; then
targ=$(echo $line | sed -e 's/^.*GluonTarget//' -e 's/^,//' -e 's/)).*//' -e 's/[,]/-/') targ=$(echo $line | sed -e 's/^.*GluonTarget//' -e 's/^,//' -e 's/)).*//' -e 's/[,]/-/')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment