diff options
author | Kenjiro Cho <kjc@cvs.openbsd.org> | 2001-06-28 02:58:58 +0000 |
---|---|---|
committer | Kenjiro Cho <kjc@cvs.openbsd.org> | 2001-06-28 02:58:58 +0000 |
commit | fc5897e34873a801e6fe167714cc7487fb99a336 (patch) | |
tree | 2b9400baa60365327defe34954a70b685e0470c8 /etc/etc.mvmeppc/MAKEDEV | |
parent | 67c87d558ba972cde28fc159001a96121b420d50 (diff) |
add an entry for ALTQ.
Diffstat (limited to 'etc/etc.mvmeppc/MAKEDEV')
-rw-r--r-- | etc/etc.mvmeppc/MAKEDEV | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/etc/etc.mvmeppc/MAKEDEV b/etc/etc.mvmeppc/MAKEDEV index 7f3d841122f..fe8c9bd11be 100644 --- a/etc/etc.mvmeppc/MAKEDEV +++ b/etc/etc.mvmeppc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.1 2001/06/26 22:37:36 smurph Exp $ +# $OpenBSD: MAKEDEV,v 1.2 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 71 $unit + chmod 644 altq/$dev + unit=$(($unit + 1)) + done + ;; + local) umask 0 test -s MAKEDEV.local && sh $this.local |