diff options
author | Simon Rettberg | 2018-08-31 13:50:30 +0200 |
---|---|---|
committer | Your Name | 2018-08-31 13:50:30 +0200 |
commit | 6f1f2c8213ea028d2963f84191670a981e2236ba (patch) | |
tree | 2b407bde900928ba9636b2bb5dacd9963b4b9101 /core/rootfs/rootfs-stage32/data/opt/openslx/scripts | |
parent | [rfs-stage32] setup_partitions: 4s timeout for udev settle (diff) | |
download | mltk-6f1f2c8213ea028d2963f84191670a981e2236ba.tar.gz mltk-6f1f2c8213ea028d2963f84191670a981e2236ba.tar.xz mltk-6f1f2c8213ea028d2963f84191670a981e2236ba.zip |
Get rid of fractional sleep calls
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/opt/openslx/scripts')
-rwxr-xr-x | core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_partitions | 4 |
1 files changed, 2 insertions, 2 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 c0ce1bc1..ca1585bb 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 @@ -119,9 +119,9 @@ mount_temp_fallback () { } udevadm trigger -sleep 0.2 +usleep 20000 #20ms udevadm settle --timeout 4 -sleep 0.2 +usleep 20000 #20ms /opt/openslx/sbin/fdisk -l | grep '^/dev/' > "$PARTITION_FILE" if [ ! -s "$PARTITION_FILE" ]; then |