diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2018-07-13 20:31:50 +0300 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2018-07-13 20:31:50 +0300 |
commit | 556ed49e175646c850add5c6ab3efd166679633c (patch) | |
tree | 7ab0906252a47d8955760bbb4fed864b34d802c6 | |
parent | e7115df8922e47432ddf97f992330860c44ab6b1 (diff) |
Install udev rules by default
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -6,7 +6,7 @@ PREFIX ?= /usr BINDIR = ${DESTDIR}${PREFIX}/bin MANDIR = ${DESTDIR}${PREFIX}/share/man -INSTALL_UDEV_RULES = 0 +INSTALL_UDEV_RULES = 1 INSTALL_UDEV_1 = install_udev_rules UDEVDIR ?= /lib/udev/rules.d @@ -19,9 +19,9 @@ One can build and install the program using `make install`. Consult the Makefile Modifying brightness requires write permissions for device files. `brightnessctl` accomplishes this (without using `sudo`/`su`/etc.) by either of the following means: -1) installing `brightnessctl` as a suid binary (done by default) +1) installing relevant udev rules to add permissions to backlight class devices for users in `video` and leds for users in `input`. (done by default) -2) installing relevant udev rules to add permissions to backlight class devices for users in `video` and leds for users in `input`. +2) installing `brightnessctl` as a suid binary. The behavior is controlled by the `INSTALL_UDEV_RULES` flag (setting it to `1` installs the udev rules, `0` is the default value). |