]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt/parse-crypt.sh: fix udev rule creation
authorHarald Hoyer <harald@redhat.com>
Fri, 8 Apr 2011 08:23:58 +0000 (10:23 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 8 Apr 2011 08:23:58 +0000 (10:23 +0200)
modules.d/90crypt/parse-crypt.sh

index b50f49d367ce83004de376c2bc28c3279fd7af16..f51764b2e4ee3eb436c8c95ad70e5af50337c55b 100755 (executable)
@@ -32,8 +32,8 @@ else
         done
     else
         echo 'ENV{ID_FS_TYPE}=="crypto_LUKS", RUN+="/sbin/initqueue' \
-            '--unique --onetime --name cryptroot-ask-%k' \
-            '/sbin/cryptroot-ask $env{DEVNAME} luks-$env{ID_FS_UUID}"' \
+            '--unique --onetime --name cryptroot-ask-%%k' \
+            '/sbin/cryptroot-ask $env{DEVNAME} luks-$env{ID_FS_UUID}"\n' \
             >> /etc/udev/rules.d/70-luks.rules
     fi