File: do_option

package info (click to toggle)
partman-prep 11
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 328 kB
  • ctags: 7
  • sloc: sh: 159; makefile: 40
file content (14 lines) | stat: -rwxr-xr-x 193 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

dev="$2"
id="$3"

cd "$dev"

[ -d "$dev/$id" ] || mkdir "$dev/$id"

echo prep >"$dev/$id/method"
echo prep >"$dev/$id/filesystem"
rm -f "$dev/$id/format"
>"$dev/$id/use_filesystem"