summaryrefslogtreecommitdiff
path: root/etc/etc.hppa
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.hppa
parent67c87d558ba972cde28fc159001a96121b420d50 (diff)
add an entry for ALTQ.
Diffstat (limited to 'etc/etc.hppa')
-rw-r--r--etc/etc.hppa/MAKEDEV18
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.hppa/MAKEDEV b/etc/etc.hppa/MAKEDEV
index 222edd4cc0b..63ec74e875e 100644
--- a/etc/etc.hppa/MAKEDEV
+++ b/etc/etc.hppa/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.6 2001/06/25 03:19:57 kjell Exp $
+# $OpenBSD: MAKEDEV,v 1.7 2001/06/28 02:58:54 kjc Exp $
# @(#)MAKEDEV 5.5 (Berkeley) 5/28/91
#
# Device "make" file. Valid arguments:
@@ -31,6 +31,7 @@
# lkm loadable kernel modules interface
# *random inkernel random number generator
# xfs* XFS filesystem devices
+# altq ALTQ control interface
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin
@@ -105,7 +106,7 @@ all)
sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3
sh MAKEDEV hil com0 com1 com2 com3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
- sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0
+ sh MAKEDEV pf tun0 tun1 tun2 tun3 lkm random xfs0 altq
sh MAKEDEV local
;;
@@ -328,6 +329,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 33 $unit
+ chmod 644 altq/$dev
+ unit=$(($unit + 1))
+ done
+ ;;
+
local)
umask 0
test -s MAKEDEV.local && sh MAKEDEV.local