X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Flive-bottom%2F23networking;h=6a669967e880bb868cd56b7fb0b5590cf770675a;hb=f4238ae20312e1d36158ba70ac1076ba4da0211d;hp=6c726c6deb2f6620ae2ee3472869f6da4757f098;hpb=845dee811a0159b75422eb7e4cfb6c860d39690b;p=live-boot-grml.git diff --git a/scripts/live-bottom/23networking b/scripts/live-bottom/23networking index 6c726c6..6a66996 100755 --- a/scripts/live-bottom/23networking +++ b/scripts/live-bottom/23networking @@ -27,7 +27,7 @@ fi . /scripts/live-functions -log_begin_msg "Preconfiguring networking..." +log_begin_msg "Preconfiguring networking" # live-initramfs script @@ -46,8 +46,16 @@ iface lo inet loopback EOF -udevtrigger -udevsettle +if [ -x /sbin/udevadm ] +then + # lenny + udevadm trigger + udevadm settle +else + # etch + udevtrigger + udevsettle +fi if [ -z "${NETBOOT}" -a -n "${STATICIP}" -a "${STATICIP}" != "frommedia" ] then