summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
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 cc7a208..f9453ec 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
OpenPOWER on IntegriCloud