summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-23 14:06:33 +0200
committerSimon Rettberg2020-07-23 14:06:33 +0200
commitf013029ab63656f5551a65b188477aec7c6b4952 (patch)
tree0130e7b84e98274efd3ffb087f85c989f2ae6239 /core/modules/hardware-stats
parent[dnbd3-proxy-mode] explicit Before= on update-etc_issue (diff)
downloadmltk-f013029ab63656f5551a65b188477aec7c6b4952.tar.gz
mltk-f013029ab63656f5551a65b188477aec7c6b4952.tar.xz
mltk-f013029ab63656f5551a65b188477aec7c6b4952.zip
[hardware-stats] Use bash for better math
Diffstat (limited to 'core/modules/hardware-stats')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update b/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update
index 4c8becc9..08338808 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/cron-system_usage_update
@@ -1,4 +1,5 @@
-#!/bin/ash
+#!/bin/bash
+# Use bash not ash for >32bit arithmetic
touch /run/openslx || exit 1
full=false