File: cryptroot-ask

package info (click to toggle)
dracut 005-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,368 kB
  • ctags: 207
  • sloc: sh: 6,487; ansic: 192; makefile: 108
file content (6 lines) | stat: -rwxr-xr-x 109 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
#!/bin/sh

[ -b /dev/mapper/$2 ] && exit 0
echo -n test >/keyfile
/sbin/cryptsetup luksOpen $1 $2 </keyfile