summaryrefslogtreecommitdiff
path: root/etc/etc.powerpc/MAKEDEV
diff options
context:
space:
mode:
Diffstat (limited to 'etc/etc.powerpc/MAKEDEV')
-rw-r--r--etc/etc.powerpc/MAKEDEV18
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV
index a568c52c788..e2d449e25a2 100644
--- a/etc/etc.powerpc/MAKEDEV
+++ b/etc/etc.powerpc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.50 2001/06/26 07:04:17 drahn Exp $
+# $OpenBSD: MAKEDEV,v 1.51 2001/06/28 02:58:56 kjc Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -77,6 +77,7 @@
# tun* network tunnel driver
# lkm loadable kernel modules interface
# *random inkernal random data source
+# altq ALTQ control interface
#
PATH=/sbin:/bin:/usr/bin:/usr/sbin
@@ -162,7 +163,7 @@ all)
sh $this random uk0 uk1 ss0 ss1
sh $this wscons
sh $this pci
- sh $this lkm xfs0
+ sh $this lkm xfs0 altq
sh $this usbs
sh $this local
;;
@@ -634,6 +635,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 72 $unit
+ chmod 644 altq/$dev
+ unit=$(($unit + 1))
+ done
+ ;;
+
local)
umask 0
test -s MAKEDEV.local && sh $this.local