summaryrefslogtreecommitdiff
path: root/etc/etc.hp300
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.hp300
parent67c87d558ba972cde28fc159001a96121b420d50 (diff)
add an entry for ALTQ.
Diffstat (limited to 'etc/etc.hp300')
-rw-r--r--etc/etc.hp300/MAKEDEV18
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV
index a147fe686d6..d922fa59fb7 100644
--- a/etc/etc.hp300/MAKEDEV
+++ b/etc/etc.hp300/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.34 2001/06/25 03:19:52 kjell Exp $
+# $OpenBSD: MAKEDEV,v 1.35 2001/06/28 02:58:53 kjc Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -67,6 +67,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
@@ -102,7 +103,7 @@ all)
sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3
sh MAKEDEV hil grf0 apci0 ppi0 ite0 dca0 dcm0 dcm1 dcm2 dcm3
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
;;
@@ -513,6 +514,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 52 $unit
+ chmod 644 altq/$dev
+ unit=$(($unit + 1))
+ done
+ ;;
+
local)
umask 0
test -s MAKEDEV.local && sh MAKEDEV.local