summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d30fc56..2a1a72a 100755
--- a/configure
+++ b/configure
@@ -38,3 +38,5 @@ if [ -n "$WLAN" ]; then
sed -i "/NETSPEED/a\\\\t{ netspeed_rx, \"%7s \", \"$WLAN\"}," config.h
sed -i "/NETSPEED/a\\\\t{ wifi_perc, \"[%3s\", \"$WLAN\"}," config.h
fi
+
+sed -i "s/#define CPUS.*/#define CPUS $(nproc)/" components/cpu.c