1#!/bin/sh 2# $NetBSD: installboot.sh,v 1.1.60.1 2005/11/10 13:56:09 skrll 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/usr/sbin/installboot $2 $1 26exit $? 27