1#!/bin/sh - 2# 3# Copyright (c) 1994 4# The Regents of the University of California. All rights reserved. 5# 6# %sccs.include.redist.sh% 7# 8# @(#)installboot.sh 8.2 (Berkeley) 03/21/94 9# 10# compatibility with old installboot program 11# 12if [ $# != 2 ] 13then 14 echo "Usage: installboot bootprog device" 15 exit 1 16fi 17if [ ! -f $1 ] 18then 19 echo "Usage: installboot bootprog device" 20 echo "${1}: bootprog must be a regular file" 21 exit 1 22fi 23if [ ! -c $2 ] 24then 25 echo "Usage: installboot bootprog device" 26 echo "${2}: device must be a char special file" 27 exit 1 28fi 29/sbin/disklabel -B -b $1 $2 30exit $? 31