File: inst-8

package info (click to toggle)
mbr 1.2.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 676 kB
  • sloc: sh: 3,941; ansic: 2,226; makefile: 116
file content (23 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /bin/sh

# BUG: running install-mbr -I y2k.b /dev/hda fails.  We should fail if
# the Y2K setting is explicitly requested.

dd if=test-old of=test-mbr 2>/dev/null

do_install -y- test-mbr
do_install -I y2k.b test-mbr
do_install --list test-mbr >test-y
cat <<EOF >test-x
Version: 2
Compatible: 2
Y2K-Fix: Enabled
Drive: 0x80
Default: D
Timeout: 18/18 seconds
Enabled: F A
Interrupt: Shift Key
EOF
diff -u test-x test-y

: Done