aboutsummaryrefslogtreecommitdiff
path: root/libexec/rc
diff options
context:
space:
mode:
authorAndrew Gallatin <gallatin@FreeBSD.org>2023-05-22 00:47:28 +0000
committerAndrew Gallatin <gallatin@FreeBSD.org>2023-05-25 13:40:26 +0000
commitfd96685a4a579fc84031e8e66d8f8b1ce8cdf1e5 (patch)
treea2eb88e5e886b4c137b3b03471b9150c75ade147 /libexec/rc
parent430d064ba5b0cb2e91a26af34c15df48d290e417 (diff)
Diffstat (limited to 'libexec/rc')
-rwxr-xr-xlibexec/rc/rc.d/powerd7
1 files changed, 0 insertions, 7 deletions
diff --git a/libexec/rc/rc.d/powerd b/libexec/rc/rc.d/powerd
index 2fc783a627e9..6f63bb96ff42 100755
--- a/libexec/rc/rc.d/powerd
+++ b/libexec/rc/rc.d/powerd
@@ -14,13 +14,6 @@ name="powerd"
desc="Modify the power profile based on AC line state"
rcvar="powerd_enable"
command="/usr/sbin/${name}"
-stop_postcmd=powerd_poststop
-
-powerd_poststop()
-{
- sysctl dev.cpu.0.freq=`sysctl -n dev.cpu.0.freq_levels |
- sed -e 's:/.*::'` > /dev/null
-}
load_rc_config $name
run_rc_command "$1"