summaryrefslogtreecommitdiff
path: root/etc/etc.sparc
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.sparc
parent67c87d558ba972cde28fc159001a96121b420d50 (diff)
add an entry for ALTQ.
Diffstat (limited to 'etc/etc.sparc')
-rw-r--r--etc/etc.sparc/MAKEDEV18
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.sparc/MAKEDEV b/etc/etc.sparc/MAKEDEV
index d387b4dea84..1f8ab4c4f7d 100644
--- a/etc/etc.sparc/MAKEDEV
+++ b/etc/etc.sparc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.68 2001/06/25 03:20:17 kjell Exp $
+# $OpenBSD: MAKEDEV,v 1.69 2001/06/28 02:58:56 kjc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -86,6 +86,7 @@
# spif* spif card (makes 8 tty and 1 bpp)
# bpp* bpp
# xfs* XFS filesystem devices
+# altq ALTQ control interface
PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0
@@ -208,7 +209,7 @@ all)
sh $this bwtwo0 cgtwo0 cgthree0 cgfour0 cgsix0
sh $this cgeight0 cgfourteen0 tcx0
sh $this lkm random local
- sh $this xfs0
+ sh $this xfs0 altq
;;
floppy)
@@ -734,6 +735,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 125 $unit
+ chmod 644 altq/$dev
+ unit=$(($unit + 1))
+ done
+ ;;
+
local)
umask 0
test -s MAKEDEV.local && sh MAKEDEV.local