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