summaryrefslogtreecommitdiff
path: root/pm/sleep.d/99video
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-02-09 20:00:04 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-02-09 20:00:04 -0600
commitebcb472fe233a2b215ada2ae94a71293a8e10636 (patch)
tree0b0d71f9c5f1c1fd0ea39a3cb560bc70ccac310d /pm/sleep.d/99video
parent1f4cae1db1ff4a9f42b9d1194562e69244864879 (diff)
Minor quotation fixes in 99video
Diffstat (limited to 'pm/sleep.d/99video')
-rwxr-xr-xpm/sleep.d/99video10
1 files changed, 5 insertions, 5 deletions
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index 4bfdf83..82f0469 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -11,10 +11,10 @@
reset_brightness() {
for bl in /sys/class/backlight/* ; do
- [ -f $bl/brightness ] || continue
- BR=$(cat $bl/brightness)
- echo 0 > $bl/brightness
- echo $BR > $bl/brightness
+ [ -f "$bl/brightness" ] || continue
+ BR="$(cat $bl/brightness)"
+ echo 0 > "$bl/brightness"
+ echo "$BR" > "$bl/brightness"
done
}
@@ -45,7 +45,7 @@ resume_video()
vbe vbestate restore < /var/run/vbestate
fi
if [ "${DISPLAY_QUIRK_VBEMODE_RESTORE}" = "true" ]; then
- vbe vbemode set $(cat /var/run/vbemode)
+ vbe vbemode set "$(cat /var/run/vbemode)"
fi
if [ "${DISPLAY_QUIRK_DPMS_ON}" = "true" ]; then
vbe dpms on