Browse Source

Add device nodes for apm for macppc.

OPENBSD_3_0
drahn 23 years ago
parent
commit
8d8411f8b9
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      src/etc/etc.macppc/MAKEDEV

+ 11
- 1
src/etc/etc.macppc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.1 2001/09/01 16:13:48 drahn Exp $
# $OpenBSD: MAKEDEV,v 1.2 2001/10/03 14:50:38 drahn Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -71,6 +71,7 @@
# utty* Serial ports
#
# Special purpose devices:
# apm power management device
# audio* audio
# ch* SCSI media changer
# bpf* Berkeley Packet Filter
@ -167,6 +168,7 @@ all)
sh $this lkm xfs0 altq
sh $this usbs
sh $this iop0 iop1
sh $this apm
sh $this local
;;
@ -465,6 +467,14 @@ audio*)
[ -e audioctl ] || ln -s $audioctl audioctl
;;
apm*)
rm -f apm apmctl
mknod apm c 25 0
mknod apmctl c 25 8
chown root.wheel apm apmctl
chmod 644 apm apmctl
;;
usb*)
rm -f usb$unit
mknod usb$unit c 61 $unit


Loading…
Cancel
Save