--- 1.0.6-r2-dm-crypt-start.sh 2008-10-05 23:01:33.000000000 +0200 +++ /lib/rcscripts/addons/dm-crypt-start.sh 2009-03-04 12:15:13.000000000 +0100 @@ -161,7 +161,7 @@ ret="$?" eend "${ret}" "failure running cryptsetup" else - cryptsetup ${options} ${arg1} ${arg2} ${arg3} + cryptsetup ${options} ${arg1} ${arg2} ${arg3} < /dev/tty0 ret="$?" eend "${ret}" "failure running cryptsetup" fi @@ -255,7 +255,7 @@ # Fix for baselayout-1.12.10 (bug 174256) [ -z ${SVCNAME} ] && SVCNAME="${myservice}" - while read targetline ; do + while read -u 4 targetline ; do # skip comments and blank lines [[ ${targetline}\# == \#* ]] && continue @@ -283,7 +283,7 @@ # Queue this setting for the next call to dm_crypt_execute_${SVCNAME} eval "${targetline}" - done < /etc/conf.d/dmcrypt + done 4< /etc/conf.d/dmcrypt # If we have a target queued up, then execute it dm_crypt_execute_${SVCNAME}