aboutsummaryrefslogtreecommitdiff
path: root/files/etc/devd/lid-close.conf.laptop
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-08-02 19:10:39 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-08-02 19:10:39 -0400
commitcbcd022f302adc39ecb89fba6faf72e68184c0e0 (patch)
treea5ab154e08fa3c4fa110b09d3475736c66840c8b /files/etc/devd/lid-close.conf.laptop
parentceb339370d7a0cc4a83fe54103a650dfb3f72261 (diff)
downloadinfrastructure-cbcd022f302adc39ecb89fba6faf72e68184c0e0.tar.gz
halfway working idm server and laptop hostclasses
Diffstat (limited to 'files/etc/devd/lid-close.conf.laptop')
-rw-r--r--files/etc/devd/lid-close.conf.laptop6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/etc/devd/lid-close.conf.laptop b/files/etc/devd/lid-close.conf.laptop
new file mode 100644
index 0000000..751c546
--- /dev/null
+++ b/files/etc/devd/lid-close.conf.laptop
@@ -0,0 +1,6 @@
+notify 20 {
+ match "system" "ACPI";
+ match "subsystem" "Lid";
+ match "notify" "0x00";
+ action "/usr/local/libexec/lid-close";
+};