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 b50f49d..f51764b 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