summaryrefslogtreecommitdiff
path: root/etc/etc.alpha
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.alpha
parent67c87d558ba972cde28fc159001a96121b420d50 (diff)
add an entry for ALTQ.
Diffstat (limited to 'etc/etc.alpha')
-rw-r--r--etc/etc.alpha/MAKEDEV18
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.alpha/MAKEDEV b/etc/etc.alpha/MAKEDEV
index 7087da0941e..5027b084ea8 100644
--- a/etc/etc.alpha/MAKEDEV
+++ b/etc/etc.alpha/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.58 2001/06/25 18:24:28 nate Exp $
+# $OpenBSD: MAKEDEV,v 1.59 2001/06/28 02:58:52 kjc Exp $
# $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -83,6 +83,7 @@
# *random inkernal random data source
# uk* SCSI Unknown device
# ss* SCSI scanners
+# altq ALTQ control interface
PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0
@@ -162,7 +163,7 @@ all)
sh $this mmclock lpa0 lpt0 random
sh $this uk0 uk1 ss0 ss1
sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
- sh $this local xfs0
+ sh $this local xfs0 altq
sh $this usbs wscons ttyCcfg
;;
@@ -587,6 +588,19 @@ xfs*)
chown root.wheel xfs$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 53 $unit
+ chmod 644 altq/$dev
+ unit=$(($unit + 1))
+ done
+ ;;
+
local)
umask 0
test -s MAKEDEV.local && sh $this.local