cmak at lunar-linux.org
Mon Jan 29 23:40:53 CET 2007
im having a problem...
run_with_msg "Opening device /dev/sdb1:\n"
"/sbin/cryptsetup luksOpen /dev/sdb1 sdb1_c"
works fine alone (in /etc/init.d/mount), it prompts for a
password as it should. enculapsed in this while-loop it
sed 's/#.*$//g' /etc/crypttab | tr '\t' ' ' | grep -v -e
'^$' | while read DEVICE MAPPING
do stuff and stuff and
run_with_msg "Opening device $DEVICE:\n" "/sbin/cryptsetup
luksOpen $DEVICE $MAPPING"
that is, i guess, because "read" is used before and
cryptsetup cant get the input from the keyboard or
something- so...either i dont use read in the while-loop or
i "reset" the read thing "somehow". but how? :>
More information about the Lunar-dev