in reply to Expect for cryptsetup

G'day theo@ubuntucy.org,

Welcome to the monastery.

"... it does not work ..."

This is a totally inadequate error report. In what way doesn't it work: the script doesn't start; it functions incorrectly; your keyboard bursts into flames? Are there any warning or error messages?

A better question will get you better answers: "How do I post a question effectively?" has guidelines for achieving this.

-- Ken