diff options
Diffstat (limited to 'community/brightnessctl/brightnessctl.post-install')
-rw-r--r-- | community/brightnessctl/brightnessctl.post-install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/brightnessctl/brightnessctl.post-install b/community/brightnessctl/brightnessctl.post-install new file mode 100644 index 0000000000..fc16251e6b --- /dev/null +++ b/community/brightnessctl/brightnessctl.post-install @@ -0,0 +1,10 @@ +#!/bin/sh +# +# If we have udev running then reload the rules and add the +# proper subsystems so people can use it +if [ -S /run/udev/control ]; then + udevadm control --reload-rules + udevadm trigger -s leds -s backlight -c add +fi + +exit 0 |