X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-helpers;h=bb5653ce607375bbdf57187d766353b78b065404;hb=e3db15425bab2e04a15cd975c7699203c2a6b104;hp=619cbb407c500097cf291673f0467c564bcb6e75;hpb=26efb1a6c76203557ce21b51e4fb39d127cd4e88;p=live-boot-grml.git diff --git a/scripts/live-helpers b/scripts/live-helpers index 619cbb4..bb5653c 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -1,4 +1,3 @@ -#!/bin/sh # live-initramfs helper functions, used by live-initramfs on boot and by live-snapshot if [ ! -x "/bin/fstype" ] @@ -190,7 +189,15 @@ setup_loop () local readonly=${6} modprobe -q -b "${module}" - udevsettle + + if [ -x /sbin/udevadm ] + then + # lenny + udevadm settle + else + # etch + udevsettle + fi for loopdev in ${pattern} do