1#!/bin/sh 2# compatibility with old installboot program 3# 4# @(#)installboot.sh 8.1 (Berkeley) 06/10/93 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 $? 25