MAKEDEV.local revision 1.4
1161748Scperciva#!/bin/sh - 2161748Scperciva# 3161748Scperciva# $NetBSD: MAKEDEV.local,v 1.4 1997/02/15 10:02:09 mikel Exp $ 4161748Scperciva# 5161748Scperciva# Copyright (c) 1991 The Regents of the University of California. 6161748Scperciva# All rights reserved. 7161748Scperciva# 8161748Scperciva# Redistribution and use in source and binary forms, with or without 9161748Scperciva# modification, are permitted provided that the following conditions 10161748Scperciva# are met: 11161748Scperciva# 1. Redistributions of source code must retain the above copyright 12161748Scperciva# notice, this list of conditions and the following disclaimer. 13161748Scperciva# 2. Redistributions in binary form must reproduce the above copyright 14161748Scperciva# notice, this list of conditions and the following disclaimer in the 15161748Scperciva# documentation and/or other materials provided with the distribution. 16161748Scperciva# 3. All advertising materials mentioning features or use of this software 17161748Scperciva# must display the following acknowledgement: 18161748Scperciva# This product includes software developed by the University of 19161748Scperciva# California, Berkeley and its contributors. 20161748Scperciva# 4. Neither the name of the University nor the names of its contributors 21161748Scperciva# may be used to endorse or promote products derived from this software 22161748Scperciva# without specific prior written permission. 23161748Scperciva# 24161748Scperciva# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 25161748Scperciva# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 26161748Scperciva# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 27161748Scperciva# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 28196392Ssimon# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 29161748Scperciva# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30161748Scperciva# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31161748Scperciva# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32161748Scperciva# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33162872Sru# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34161748Scperciva# SUCH DAMAGE. 35161748Scperciva# 36161748Scperciva# @(#)MAKEDEV.local 8.1 (Berkeley) 6/9/93 37161748Scperciva# 38161748Scperciva 39161748Scperciva# Local device MAKEDEV script. 40161748Scperciva 41162872SruPATH=/sbin:/bin:/usr/sbin:/usr/bin 42161748Scpercivaumask 77 43161748Scpercivafor i 44161748Scpercivado 45161748Scpercivacase $i in 46162872Sru 47161748Scperciva*) 48161748Scperciva echo 'MAKEDEV.local: no such device.' 49161748Scperciva ;; 50196392Ssimonesac 51162872Srudone 52161748Scperciva