diff options
Diffstat (limited to 'init.sh')
-rwxr-xr-x | init.sh | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +#!/bin/sh +# +# start/stop luminous setup +# +# This only sets the permissions on the brightness + +case $1 in + start) + chmod 666 /sys/class/backlight/*/brightness + ;; + stop) + chmod 644 /sys/class/backlight/*/brightness + ;; + *) + printf "usage: $0 [start|stop]\n" + ;; +esac |