summaryrefslogtreecommitdiffstats
path: root/etc/etc.i386
diff options
context:
space:
mode:
authoriwasaki <iwasaki@FreeBSD.org>1999-07-10 18:02:42 +0000
committeriwasaki <iwasaki@FreeBSD.org>1999-07-10 18:02:42 +0000
commitbe16db802f075e6d3399b571b73a5d2d901565f4 (patch)
treef7933333e0969471d5799ca4b615bb2029d1c5f2 /etc/etc.i386
parent669be26799b5a0577fb8f2f3716b8a715be82845 (diff)
downloadFreeBSD-src-be16db802f075e6d3399b571b73a5d2d901565f4.zip
FreeBSD-src-be16db802f075e6d3399b571b73a5d2d901565f4.tar.gz
Put apmd configuration and rc files in /etc.
Update some files for apmd.
Diffstat (limited to 'etc/etc.i386')
-rw-r--r--etc/etc.i386/MAKEDEV8
-rw-r--r--etc/etc.i386/rc.i3866
2 files changed, 11 insertions, 3 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 8875bb4..328fcec 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -109,6 +109,7 @@
#
# Special purpose devices:
# apm Advanced Power Management BIOS
+# apmctl APM BIOS control device
# bpf* packet filter
# speaker pc speaker
# tw* xten power controller
@@ -130,7 +131,7 @@
# ipl ipfilter control devices (ipl, ipnat, ipstate, ipauth)
# kbd keyboard devices
#
-# $Id: MAKEDEV,v 1.204 1999/07/09 13:37:58 sheldonh Exp $
+# $Id: MAKEDEV,v 1.205 1999/07/09 21:35:17 phk Exp $
#
PATH=/sbin:/bin/:/usr/bin:/usr/sbin:$PATH
@@ -236,7 +237,7 @@ all)
sh MAKEDEV ums0 ulpt0 ugen0 # cdev, USB devices
sh MAKEDEV bpf0 ipl tun0 # cdev, network
sh MAKEDEV ch0 perfmon tw0 # cdev, miscellaneous
- sh MAKEDEV apm card0 card1 card2 card3 # cdev, laptop
+ sh MAKEDEV apm apmctl card0 card1 card2 card3 # cdev, laptop
sh MAKEDEV pass4 xpt2 # cdev, CAM
sh MAKEDEV i4b i4bctl i4btrc0 i4btrc1 # cdev, ISDN
sh MAKEDEV i4btel0 i4btel1 i4bteld0 i4bteld1 # cdev, ISDN
@@ -1219,8 +1220,11 @@ gsc*)
apm*)
chr=39
mknod apm c $chr 0
+ mknod apmctl c $chr 8
chgrp operator apm
+ chgrp operator apmctl
chmod 660 apm
+ chmod 660 apmctl
;;
card*)
diff --git a/etc/etc.i386/rc.i386 b/etc/etc.i386/rc.i386
index 219eb09..a131d16 100644
--- a/etc/etc.i386/rc.i386
+++ b/etc/etc.i386/rc.i386
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $Id: rc.i386,v 1.38 1999/01/29 18:09:38 yokota Exp $
+# $Id: rc.i386,v 1.39 1999/01/30 07:22:29 newton Exp $
# Do i386 specific processing
#
@@ -10,6 +10,10 @@ if [ "X$apm_enable" = X"YES" ] ; then
apmconf -e > /dev/null 2>&1
fi
+if [ "X$apmd_enable" = X"YES" ] ; then
+ echo -n ' apmd'; apmd
+fi
+
# Start the SCO binary emulation if requested.
if [ "X${ibcs2_enable}" = X"YES" ]; then
echo -n ' ibcs2'; ibcs2 > /dev/null 2>&1
OpenPOWER on IntegriCloud