os/startup.sh
2022-10-24 13:34:49 +02:00

7 lines
115 B
Bash
Executable File

#!/bin/sh
for dev in /sys/class/backlight/* ; do
cd $dev
echo $(( $(cat max_brightness) / 2)) > brightness
done