diff options
author | Matthias Hentges <oe@hentges.net> | 2007-11-29 21:52:01 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-11-29 21:52:01 +0000 |
commit | ae7eb4076905d0b10613ba756acc9924e3d4fbaf (patch) | |
tree | d696d2ffa10fdc1f78c2639a4f3747b3b8f4bc12 /packages/zaurusd/files/zaurus-hinge.bl-off | |
parent | 67a1d946c02b02f76e70e792d4cfb1b0c5ada84e (diff) | |
parent | 281e31e88a5958f8d22ade40fd7f1713a470f7c3 (diff) |
merge of '19bacabe62a70bf0818d663c4cd3bc168e5cf49e'
and '332e97250454514e2c07aea9f1695ab21166d191'
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" |