diff options
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions')
-rwxr-xr-x | core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions index 5f58917d..95709bbf 100755 --- a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions +++ b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions @@ -128,7 +128,10 @@ mount_temp_fallback () { wait_for_udev () { local upid ctr hdd hdd= - [ "x$1" = "x--hdd" ] && hdd=true + if [ "x$1" = "x--hdd" ]; then + hdd=true + shift + fi ctr=$(( "$1" * 10 )) if ! [ "$ctr" -gt 0 ]; then # Negation to catch NaN ctr=1 |