summaryrefslogtreecommitdiffstats
path: root/remote/rootfs
diff options
context:
space:
mode:
Diffstat (limited to 'remote/rootfs')
-rwxr-xr-xremote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions4
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
index d8a016ab..666b8a69 100755
--- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
+++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions
@@ -95,8 +95,8 @@ fdisk -l | sed -n "/^\/dev\//p" > "/etc/disk.partition"
# apparently then it can still happen that we run too soon. This should
# be removed once someone figures out what fdisk really needs to work
# properly.
-if [ ! -s "/etc/disk.partition" -a -n "$(ls /dev/sd?)" ]; then
- sleep 2
+if [ ! -s "/etc/disk.partition" ]; then
+ sleep 3
echo "Retrying fdisk"
fdisk -l | sed -n "/^\/dev\//p" > "/etc/disk.partition"
fi