summaryrefslogtreecommitdiff
path: root/etc/etc.mvme68k
diff options
context:
space:
mode:
authorKenjiro Cho <kjc@cvs.openbsd.org>2001-06-28 02:58:58 +0000
committerKenjiro Cho <kjc@cvs.openbsd.org>2001-06-28 02:58:58 +0000
commitfc5897e34873a801e6fe167714cc7487fb99a336 (patch)
tree2b9400baa60365327defe34954a70b685e0470c8 /etc/etc.mvme68k
parent67c87d558ba972cde28fc159001a96121b420d50 (diff)
add an entry for ALTQ.
Diffstat (limited to 'etc/etc.mvme68k')
-rw-r--r--etc/etc.mvme68k/MAKEDEV20
1 files changed, 17 insertions, 3 deletions
diff --git a/etc/etc.mvme68k/MAKEDEV b/etc/etc.mvme68k/MAKEDEV
index cfa854c695a..bedf633ebb0 100644
--- a/etc/etc.mvme68k/MAKEDEV
+++ b/etc/etc.mvme68k/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.32 2001/06/25 03:20:07 kjell Exp $
+# $OpenBSD: MAKEDEV,v 1.33 2001/06/28 02:58:55 kjc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -33,7 +33,7 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $OpenBSD: MAKEDEV,v 1.32 2001/06/25 03:20:07 kjell Exp $
+# $OpenBSD: MAKEDEV,v 1.33 2001/06/28 02:58:55 kjc Exp $
#
# Device "make" file. Valid arguments:
# all makes all known devices, including local devices,
@@ -71,6 +71,7 @@
# tun* network tunnel driver
# uk* unknown SCSI
# ss* SCSI scanners
+# altq ALTQ control interface
#
# Machine specific devices:
# sram static ram available on some models.
@@ -98,7 +99,7 @@ all)
#sh MAKEDEV lp0 lptwo0
sh MAKEDEV random
sh MAKEDEV uk0 uk1
- sh MAKEDEV ss0
+ sh MAKEDEV ss0 altq
;;
std)
@@ -475,6 +476,19 @@ ss*)
ln -s ss$unit scan$unit
;;
+altq)
+ mkdir -p altq
+ chmod 755 altq
+ unit=0
+ for dev in altq cbq wfq afm fifoq red rio localq hfsc \
+ cdnr blue priq; do
+ rm -f altq/$dev
+ mknod altq/$dev c 52 $unit
+ chmod 644 altq/$dev
+ unit=$(($unit + 1))
+ done
+ ;;
+
local)
umask 0
test -s MAKEDEV.local && sh MAKEDEV.local