aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorNate Lawson <njl@FreeBSD.org>2004-02-03 04:18:56 +0000
committerNate Lawson <njl@FreeBSD.org>2004-02-03 04:18:56 +0000
commit526785c638601ca0cd393a2d9c3621f5dfd0cc45 (patch)
tree3d6f7a30501d42369124596593d55038b0d91238 /etc
parentddb842ccb674690c1d77ccad4ed3aea51e473f21 (diff)
downloadsrc-526785c638601ca0cd393a2d9c3621f5dfd0cc45.tar.gz
src-526785c638601ca0cd393a2d9c3621f5dfd0cc45.zip
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/devd.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/etc/devd.conf b/etc/devd.conf
index cc7a20871a26..f9453ecde2f3 100644
--- a/etc/devd.conf
+++ b/etc/devd.conf
@@ -74,7 +74,17 @@ nomatch 0 {
notify 10 {
match "system" "ACPI";
match "subsystem" "ACAD";
- action "/etc/rc.d/power_profile $notify";
+ action "/etc/rc.d/power_profile $notify";
+};
+
+# Notify all users before beginning emergency shutdown when we get
+# a _CRT or _HOT thermal event and we're going to power down the system
+# very soon.
+notify 10 {
+ match "system" "ACPI";
+ match "subsystem" "Thermal";
+ match "notify" "0xcc";
+ action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'";
};
/* EXAMPLES TO END OF FILE