Statistics
| Branch: | Revision:

root / example / hooks / windows / mbr @ 8afaedb3

History | View | Annotate | Download (240 Bytes)

1
#! /bin/bash
2

    
3
set -e
4

    
5
. common.sh
6

    
7
debug set -x
8

    
9
CLEANUP=( )
10

    
11
trap cleanup EXIT
12
echo -n "Installing a master boot record for the windows disk..."
13
$INSTALL_MBR -p 1 -i n ${BLOCKDEV}
14
echo "done"
15

    
16
#execute cleanups
17
cleanup
18
trap - EXIT
19

    
20
exit 0