File: do_option

package info (click to toggle)
partman-auto-crypto 25
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 376 kB
  • sloc: sh: 79; makefile: 2
file content (12 lines) | stat: -rwxr-xr-x 200 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

. /lib/partman/lib/base.sh
. /lib/partman/lib/auto-shared.sh

code=255
while [ $code -eq 255 ]; do
	disk=$(select_auto_disk) || exit 99
	autopartition-crypto $disk
	code=$?
done
exit $code