summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
diff options
context:
space:
mode:
authorSimon Rettberg2024-05-23 16:32:00 +0200
committerSimon Rettberg2024-05-23 16:32:00 +0200
commit7359f61fc04981ccef48fccee299e14a6066ce4b (patch)
tree6cefa55b72b9dd7dd58cd1988d9c7a02eccaf754 /core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
parent[systemd] Remove module (diff)
downloadmltk-7359f61fc04981ccef48fccee299e14a6066ce4b.tar.gz
mltk-7359f61fc04981ccef48fccee299e14a6066ce4b.tar.xz
mltk-7359f61fc04981ccef48fccee299e14a6066ce4b.zip
Big round of cleanup
- Remove a lot of TODOs, either by fixing them or because they became irrelevant - Change all git:// to https:// - Move hwreport and hwinfo from /run to /run/openslx - Minor script style cleanups - Remove dead code and functions in various scripts
Diffstat (limited to 'core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
index ae35b33a..545cb4bc 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-gather_hw_info
@@ -9,8 +9,8 @@
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
-declare -rg REPORTFILE="/run/hwreport"
-declare -rg jsonfile="/run/hwreport.json"
+declare -rg REPORTFILE="/run/openslx/hwreport"
+declare -rg jsonfile="/run/openslx/hwreport.json"
# new json-based reporting, run first in background and wait at the end of script
# This is only supported by Sat3.11, released 12-2023, so keep creating the old format
@@ -292,7 +292,7 @@ echo "Created report file"
################################################################################
# Save information to local file for later use
#
-cat > "/run/hwinfo" <<HORST
+cat > "/run/openslx/hwinfo" <<HORST
HW_KVM='${VT}'
HW_ID44='${ID44}'
HW_MAC='${MAC}'