1#!/bin/sh 2# $NetBSD: installboot.sh,v 1.1 1997/02/04 03:53:00 thorpej Exp $ 3 4# compatibility with old installboot program 5# 6# @(#)installboot.sh 8.1 (Berkeley) 6/10/93 7# 8if [ $# != 2 ] 9then 10 echo "Usage: installboot bootprog device" 11 exit 1 12fi 13if [ ! -f $1 ] 14then 15 echo "Usage: installboot bootprog device" 16 echo "${1}: bootprog must be a regular file" 17 exit 1 18fi 19if [ ! -c $2 ] 20then 21 echo "Usage: installboot bootprog device" 22 echo "${2}: device must be a char special file" 23 exit 1 24fi 25/sbin/disklabel -B -b $1 $2 26exit $? 27