[BACK]Return to installboot.sh CVS log [TXT][DIR] Up to [local] / sys / arch / hp300 / stand / installboot

Annotation of sys/arch/hp300/stand/installboot/installboot.sh, Revision 1.1

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

CVSweb