From: Harald Hoyer Date: Fri, 17 Jun 2011 11:43:37 +0000 (+0200) Subject: crypt/crypt-lib.sh: s/.console.lock/.console_lock/g X-Git-Tag: 011~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=565f6fb67551771e34c7d11850b9f5e0b1ef1bd1;p=thirdparty%2Fdracut.git crypt/crypt-lib.sh: s/.console.lock/.console_lock/g 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 --- diff --git a/modules.d/90crypt/crypt-lib.sh b/modules.d/90crypt/crypt-lib.sh index 122d88eda..6680e2aca 100644 --- a/modules.d/90crypt/crypt-lib.sh +++ b/modules.d/90crypt/crypt-lib.sh @@ -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