summaryrefslogtreecommitdiffstats
path: root/etc/rc.bootup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-04-05 15:38:00 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-04-05 15:38:00 -0400
commit8e9fa41d89416aa19dd742e5177bdf237b375923 (patch)
tree57e6c987f2c23711cabc0038a5a05372e27dbf53 /etc/rc.bootup
parent37c7bad8159cd15a684da7e1160243526f6c566c (diff)
downloadpfsense-8e9fa41d89416aa19dd742e5177bdf237b375923.zip
pfsense-8e9fa41d89416aa19dd742e5177bdf237b375923.tar.gz
Adding PowerD knob to system -> advanced -> misc. This will be useful
for folks wishing for their firewall to use less power overall. Blurb from the powerd man page from freebsd: The powerd utility monitors the system state and sets various power con- trol options accordingly. It offers three modes (maximum, minimum, and adaptive) that can be individually selected while on AC power or batter- ies. The modes maximum, minimum, and adaptive may be abbreviated max, min, adp. Maximum mode chooses the highest performance values. Minimum mode selects the lowest performance values to get the most power savings. Adaptive mode attempts to strike a balance by degrading performance when the system appears idle and increasing it when the system is busy. It offers a good balance between a small performance loss for greatly increased power savings. The default mode is adaptive.
Diffstat (limited to 'etc/rc.bootup')
-rwxr-xr-xetc/rc.bootup3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.bootup b/etc/rc.bootup
index b19bf41..4dda274 100755
--- a/etc/rc.bootup
+++ b/etc/rc.bootup
@@ -280,6 +280,9 @@
/* start the upnp daemon if it is enabled */
upnp_start();
+ /* If powerd is enabled, lets launch it */
+ activate_powerd();
+
mwexec_bg("/usr/sbin/update_dns_cache.sh");
/* done */
OpenPOWER on IntegriCloud