summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2020-08-27 17:12:36 +0200
committerSimon Rettberg2020-08-27 17:12:36 +0200
commit67a18564db1bba338c486d3d1cfcb6418bb49f22 (patch)
tree16fe6e82e90486e3d473407ce2193ec397615460 /core/modules/hardware-stats
parent[hardware-stats] Move sed so we can properly get the exit code (diff)
downloadmltk-67a18564db1bba338c486d3d1cfcb6418bb49f22.tar.gz
mltk-67a18564db1bba338c486d3d1cfcb6418bb49f22.tar.xz
mltk-67a18564db1bba338c486d3d1cfcb6418bb49f22.zip
[hardware-stats] fix fix fix fifeef
Diffstat (limited to 'core/modules/hardware-stats')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
index 65677bb0..b226e32a 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
@@ -196,7 +196,7 @@ for disk in /dev/disk/by-path/!(*-part*|*-usb-*); do
[ -L "$disk" ] || continue
disk="$( readlink -f "$disk" )"
DISKS+=("$disk")
- slxfdisk -l "$disk" | sed -r 's/\s+[0-9]+,[0-9]+,[0-9]+\s/ /g' # Work around busybox YET AGAIN changing something in an incompatible way
+ slxfdisk -l "$disk" | sed -r 's/\s+[0-9]+,[0-9]+,[0-9]+/ /g' # Work around busybox YET AGAIN changing something in an incompatible way
done > "$FDISK"
shopt -u extglob
[ -z "$SLX_SMARTCTL_MIN_REALLOC" ] && SLX_SMARTCTL_MIN_REALLOC=0