Bug#918966: new(?) backlight brightness script

Thorsten Glaser t.glaser at tarent.de
Fri Jan 11 07:40:58 GMT 2019


On Fri, 11 Jan 2019, Aleksi Suhonen wrote:

> if [ -d /sys/class/backlight/acpi_video0 ]; then
> 	readonly SYS_CONTROL=/sys/class/backlight/acpi_video0/brightness
> 	readonly SYS_MAXIMUM=/sys/class/backlight/acpi_video0/max_brightness
> else
> 	readonly SYS_CONTROL=/dev/null
> 	readonly SYS_MAXIMUM=/dev/null
> fi

My Thinkpad has yet different paths, but I don't have them
at hand right now. Will have to dig them out from /etc/rc.local
when I have it again (it's at work and I'm not).

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg




More information about the Debian-init-diversity mailing list