]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
crypt/crypt-lib.sh: s/.console.lock/.console_lock/g
authorHarald Hoyer <harald@redhat.com>
Fri, 17 Jun 2011 11:43:37 +0000 (13:43 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 17 Jun 2011 11:44:08 +0000 (13:44 +0200)
In the initrd, the init script and the sbin/cryptroot-ask script use
flock with different lock files for the console: /.console_lock and
/.console.lock respectively

modules.d/90crypt/crypt-lib.sh

index 122d88eda0c32697abea488c48de67c803cb7bab..6680e2aca93a9be063e3f01f38ac75e24621dfb5 100644 (file)
@@ -70,7 +70,7 @@ ask_for_password() {
 
             [ "$tty_echo_off" = yes ] && stty $stty_orig
         fi
-    } 9>/.console.lock
+    } 9>/.console_lock
 
     [ $ret -ne 0 ] && echo "Wrong password" >&2
     return $ret