diff options
author | 2001-10-03 14:50:38 +0000 | |
---|---|---|
committer | 2001-10-03 14:50:38 +0000 | |
commit | c499a76d59199108e0b0679b8a1f3fe6dbc65763 (patch) | |
tree | 4e3de43b2f631b7201ff84baf9f895bcb41f429c | |
parent | apm support for macppc. This is not fully implemented, sleep modes (diff) | |
download | wireguard-openbsd-c499a76d59199108e0b0679b8a1f3fe6dbc65763.tar.xz wireguard-openbsd-c499a76d59199108e0b0679b8a1f3fe6dbc65763.zip |
Add device nodes for apm for macppc.
-rw-r--r-- | etc/etc.macppc/MAKEDEV | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/etc.macppc/MAKEDEV b/etc/etc.macppc/MAKEDEV index a146bca1a4e..0514b3babac 100644 --- a/etc/etc.macppc/MAKEDEV +++ b/etc/etc.macppc/MAKEDEV @@ -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 |