aports/community/brightnessctl/brightnessctl.post-install
2021-08-27 21:39:34 +02:00

11 lines
235 B
Bash

#!/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