diff options
author | Matthias Hentges <oe@hentges.net> | 2007-11-19 16:39:50 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2007-11-19 16:39:50 +0000 |
commit | a69b517b8cf3a3cc14658c2aeeda92b87ed17985 (patch) | |
tree | 0096c905f0ddd4b80553416b613448db47d3317d /packages | |
parent | 6959f7e7cc142d14bfd4b3b4153ca288115e3151 (diff) |
display-brightness: Do not allow to turn off the backlight
Diffstat (limited to 'packages')
-rw-r--r-- | packages/display-brightness/display-brightness.sh | 2 | ||||
-rw-r--r-- | packages/display-brightness/display-brightness_1.0.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/display-brightness/display-brightness.sh b/packages/display-brightness/display-brightness.sh index a82c748309..935dabff7b 100644 --- a/packages/display-brightness/display-brightness.sh +++ b/packages/display-brightness/display-brightness.sh @@ -38,7 +38,7 @@ if [ "$1" = "up" ]; then fi if [ "$1" = "down" ]; then - if [ $ACTUAL_BRIGHTNESS -eq 0 ]; then + if [ $ACTUAL_BRIGHTNESS -lt 2 ]; then exit 0 elif [ $ACTUAL_BRIGHTNESS -lt $STEP ]; then STEP=1 diff --git a/packages/display-brightness/display-brightness_1.0.0.bb b/packages/display-brightness/display-brightness_1.0.0.bb index bc46c16631..f06fde0fa9 100644 --- a/packages/display-brightness/display-brightness_1.0.0.bb +++ b/packages/display-brightness/display-brightness_1.0.0.bb @@ -2,7 +2,7 @@ DESCRIPTION = "display brightness utility" AUTHOR = "Patrick Steiner <patrick.steiner@a1.net>" DEPENDS = "" PRIORITY = "optional" -PR = "r3" +PR = "r4" LICENSE = "GPLv2" SRC_URI = "file://display-brightness.sh" |