From fc5897e34873a801e6fe167714cc7487fb99a336 Mon Sep 17 00:00:00 2001 From: Kenjiro Cho Date: Thu, 28 Jun 2001 02:58:58 +0000 Subject: add an entry for ALTQ. --- etc/etc.alpha/MAKEDEV | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'etc/etc.alpha/MAKEDEV') 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 -- cgit v1.2.3