From: Michael Tremer Date: Tue, 4 May 2010 13:58:08 +0000 (+0200) Subject: mkinitramfs: Fix --action=add flags for newer version of udev. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1f6992d3668315699f029a14d7bdbdf641c1085;p=ipfire-3.x.git mkinitramfs: Fix --action=add flags for newer version of udev. --- diff --git a/tools/mkliveramfs b/tools/mkliveramfs index 4a1a80aa3..5584dc017 100755 --- a/tools/mkliveramfs +++ b/tools/mkliveramfs @@ -1002,7 +1002,7 @@ vecho "Starting udevd..." udevd --daemon vecho "Creating devices..." -udevadm trigger +udevadm trigger --action=add if [ "${type}" = "download" ]; then # Wait 30 seconds for network to appear. @@ -1088,7 +1088,7 @@ if [ "${type}" = "block" ]; then # where we were unable to read the volume id. so trigger # another run through the block devs if [ "x$COUNTDOWN" = "x30" ]; then - udevadm trigger --subsystem-match=block + udevadm trigger --action=add --subsystem-match=block fi COUNTDOWN=$(($COUNTDOWN - 1))