1#!/bin/sh 2# 3# Modify the power profile based on AC line state. This script is 4# usually called from devd(8). 5# 6# Arguments: 0x00 (AC offline, economy) or 0x01 (AC online, performance) 7#
| 1#!/bin/sh 2# 3# Modify the power profile based on AC line state. This script is 4# usually called from devd(8). 5# 6# Arguments: 0x00 (AC offline, economy) or 0x01 (AC online, performance) 7#
|
8# $FreeBSD: head/etc/rc.d/power_profile 165875 2007-01-07 21:53:42Z njl $
| 8# $FreeBSD: head/etc/rc.d/power_profile 168283 2007-04-02 22:53:07Z des $
|
9# 10 11# PROVIDE: power_profile
| 9# 10 11# PROVIDE: power_profile
|
12# REQUIRE: mountcritlocal syslogd
| 12# REQUIRE: FILESYSTEMS syslogd
|
13# KEYWORD: nojail nostart 14 15. /etc/rc.subr 16 17name="power_profile" 18LOGGER="logger -t power_profile -p daemon.notice" 19 20# Set a given sysctl node to a value.
--- 72 unchanged lines hidden --- | 13# KEYWORD: nojail nostart 14 15. /etc/rc.subr 16 17name="power_profile" 18LOGGER="logger -t power_profile -p daemon.notice" 19 20# Set a given sysctl node to a value.
--- 72 unchanged lines hidden --- |