]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
only react to "add" to prevent duplicate /cryptroot lines
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 13:21:20 +0000 (14:21 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 13:21:20 +0000 (14:21 +0100)
modules.d/90crypt/63-luks.rules

index 802ea062ed4fd56e3559f3055f0f644c5181cee5..6ee8f6b31ac6a528a16e666fd03dc88fa54631fc 100644 (file)
@@ -5,7 +5,7 @@
 
 
 SUBSYSTEM!="block", GOTO="luks_end"
-ACTION!="add|change", GOTO="luks_end"
+ACTION!="add", GOTO="luks_end"
 
 KERNEL!="sr*", IMPORT{program}="vol_id --export $tempnode"
 ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/bin/sh -c 'echo $env{DEVNAME} luks-$env{ID_FS_UUID} >>/cryptroot'"