]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
use dash instead of underscore for udev control commands
authorHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 13:20:48 +0000 (14:20 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 5 Mar 2009 13:20:48 +0000 (14:20 +0100)
modules.d/90crypt/cryptroot.sh

index 1bcc68ff4846b00aaec0e683687af583a6ec834c..20429f1ab4d794ae149ce10d0c832413ea9430a1 100755 (executable)
@@ -1,12 +1,12 @@
 #!/bin/sh
 [ -s /cryptroot ] && { 
-    udevadm control --stop_exec_queue
+    udevadm control --stop-exec-queue
     while read cryptopts; do
        (   exec >/dev/console 2>&1 </dev/console
            /sbin/cryptsetup luksOpen $cryptopts || emergency_shell
        )
     done </cryptroot
     >/cryptroot
-    udevadm control --start_exec_queue
+    udevadm control --start-exec-queue
     udevadm settle --timeout=30
 }