summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2005-02-26 21:19:35 +0000
committernjl <njl@FreeBSD.org>2005-02-26 21:19:35 +0000
commita4011c08cba75f57d920483c14b21223ba63e41b (patch)
treeb3b7103b12e9a4af036624fece10e8ac47d911d1 /etc
parente9018b74a4a7e4bf340bc4bbfbe64480fdd14cc3 (diff)
downloadFreeBSD-src-a4011c08cba75f57d920483c14b21223ba63e41b.zip
FreeBSD-src-a4011c08cba75f57d920483c14b21223ba63e41b.tar.gz
Add rc.conf options for powerd (disabled by default) and hook the script
up to the build.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf2
-rwxr-xr-xetc/rc.d/Makefile2
2 files changed, 3 insertions, 1 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 0362665..674c7e5 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -39,6 +39,8 @@ pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
pccardd_flags="-z" # Additional flags for pccardd.
pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file
pccard_ether_delay="5" # Delay before trying to start dhclient in pccard_ether
+powerd_enable="NO" # Run powerd to lower our power usage.
+powerd_flags="" # Flags to powerd (if enabled).
removable_interfaces="" # Removable network interfaces for /etc/pccard_ether.
tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never
tmpsize="20m" # Size of mfs /tmp if created
diff --git a/etc/rc.d/Makefile b/etc/rc.d/Makefile
index ffc9615..f40d173 100755
--- a/etc/rc.d/Makefile
+++ b/etc/rc.d/Makefile
@@ -26,7 +26,7 @@ FILES= DAEMON LOGIN NETWORKING SERVERS \
nfslocking nfsserver nisdomain nsswitch ntpd ntpdate \
othermta \
pccard pcvt pf pflog \
- power_profile ppp-user pppoed preseedrandom pwcheck \
+ powerd power_profile ppp-user pppoed preseedrandom pwcheck \
quota \
ramdisk ramdisk-own random rarpd rcconf.sh resolv root \
route6d routed routing rpcbind rtadvd rwho \
OpenPOWER on IntegriCloud