No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / hp300 / stand / installboot / installboot.sh
bloba9c9881723f73ff2c05515aec885efb1d2e2224d
1 #!/bin/sh
2 # $NetBSD: installboot.sh,v 1.1.60.1 2005/11/10 13:56:09 skrll Exp $
4 # compatibility with old installboot program
6 # @(#)installboot.sh 8.1 (Berkeley) 6/10/93
8 if [ $# != 2 ]
9 then
10 echo "Usage: installboot bootprog device"
11 exit 1
13 if [ ! -f $1 ]
14 then
15 echo "Usage: installboot bootprog device"
16 echo "${1}: bootprog must be a regular file"
17 exit 1
19 if [ ! -c $2 ]
20 then
21 echo "Usage: installboot bootprog device"
22 echo "${2}: device must be a char special file"
23 exit 1
25 /usr/sbin/installboot $2 $1
26 exit $?