date and time created 93/03/14 13:56:39 by mckusick
[unix-history] / usr / src / sys / hp300 / stand / installboot.sh
CommitLineData
de611570
KM
1#!/bin/sh
2# compatibility with old installboot program
3#
4# @(#)installboot.sh 7.1 (Berkeley) %G%
5#
6if [ $# != 2 ]
7then
8 echo "Usage: installboot bootprog device"
9 exit 1
10fi
11if [ ! -f $1 ]
12then
13 echo "Usage: installboot bootprog device"
14 echo "${1}: bootprog must be a regular file"
15 exit 1
16fi
17if [ ! -c $2 ]
18then
19 echo "Usage: installboot bootprog device"
20 echo "${2}: device must be a char special file"
21 exit 1
22fi
23/sbin/disklabel -B -b $1 $2
24exit $?