File: do_option

package info (click to toggle)
partman-auto-lvm 76
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,048 kB
  • sloc: sh: 439; makefile: 2
file content (18 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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-lvm "$disk"
	code=$?
done

if [ $code -ne 0 ]; then
	exit $code
else
	# accept the autopartitioning
	exit 100
fi