diff options
author | Matthias Hentges <oe@hentges.net> | 2007-11-29 21:51:48 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-11-29 21:51:48 +0000 |
commit | 281e31e88a5958f8d22ade40fd7f1713a470f7c3 (patch) | |
tree | 5cebf63b74705ba6cf4ce71074d26cb1cf1a16f7 /packages/zaurusd/files/zaurus-hinge.bl-off | |
parent | d242abb918f10cbe2b51390c35fa311e9083f542 (diff) | |
parent | 507393ba034afcd7abca0a0be584b17a4f86daa5 (diff) |
merge of '812ef7daa38cb7e71c9e1bb3ef0358566d20c3ee'
and 'a772b6bc0f51e8c371cc638bb29f215e00e02bc5'
Diffstat (limited to 'packages/zaurusd/files/zaurus-hinge.bl-off')
-rw-r--r-- | packages/zaurusd/files/zaurus-hinge.bl-off | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/zaurusd/files/zaurus-hinge.bl-off b/packages/zaurusd/files/zaurus-hinge.bl-off index 888f90bfc5..ec3cefb2ca 100644 --- a/packages/zaurusd/files/zaurus-hinge.bl-off +++ b/packages/zaurusd/files/zaurus-hinge.bl-off @@ -6,5 +6,13 @@ # Filename: zaurus-hinge.bl-off # Date: 04-Jun-06 -test -z "${ZD_BINDIR}" && ZD_BINDIR="/usr/bin" -${ZD_BINDIR}/bl off +#test -z "${ZD_BINDIR}" && ZD_BINDIR="/usr/bin" +#${ZD_BINDIR}/bl off + + +STEP=5 +DRIVER="`ls /sys/class/backlight/|head -n 1`" +BRIGHTNESS_FILE="/sys/class/backlight/$DRIVER/brightness" + +cat "$BRIGHTNESS_FILE" > /var/run/display_brightness.tmp +echo 0 > "$BRIGHTNESS_FILE" |