Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: laptop-mode-tools_1.52/etc/rules/99-laptop-mode.rules

Issue 4853002: laptop-mode accepts lists of devices and modules (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/laptop-mode-tools.git
Patch Set: Added more comments, removed echo, added rule file Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | laptop-mode-tools_1.52/usr/sbin/laptop_mode » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: laptop-mode-tools_1.52/etc/rules/99-laptop-mode.rules
diff --git a/laptop-mode-tools_1.52/etc/rules/99-laptop-mode.rules b/laptop-mode-tools_1.52/etc/rules/99-laptop-mode.rules
new file mode 100644
index 0000000000000000000000000000000000000000..2f9660f14826a0b7a58b548215b9b2e4a5c90d31
--- /dev/null
+++ b/laptop-mode-tools_1.52/etc/rules/99-laptop-mode.rules
@@ -0,0 +1 @@
+SUBSYSTEM=="usb", ACTION=="add", RUN+="/usr/sbin/laptop_mode force modules=usb-autosuspend devices=%k"
« no previous file with comments | « no previous file | laptop-mode-tools_1.52/usr/sbin/laptop_mode » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698