diff options
author | Simon Rettberg | 2024-05-23 16:32:00 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-23 16:32:00 +0200 |
commit | 7359f61fc04981ccef48fccee299e14a6066ce4b (patch) | |
tree | 6cefa55b72b9dd7dd58cd1988d9c7a02eccaf754 /core/modules/vmchooser2/data/opt/openslx/bin/vmchooser | |
parent | [systemd] Remove module (diff) | |
download | mltk-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/vmchooser2/data/opt/openslx/bin/vmchooser')
-rwxr-xr-x | core/modules/vmchooser2/data/opt/openslx/bin/vmchooser | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser b/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser index 4889b5de..e433b095 100755 --- a/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser +++ b/core/modules/vmchooser2/data/opt/openslx/bin/vmchooser @@ -26,7 +26,7 @@ if [ -s "$URLS_CONF" ]; then [ -n "$url_help" ] && EXTRA+=( "--url-help" "$url_help" ) fi -[ -s "/run/hwinfo" ] && . "/run/hwinfo" +[ -s "/run/openslx/hwinfo" ] && . "/run/openslx/hwinfo" if [ -z "$HW_MBRAM" ]; then MEM=$(grep -m1 '^MemTotal:' /proc/meminfo | awk '{print $2}') HW_MBRAM=$(( MEM / 1024 )) |