op_lcdsettings: don't unconditionally disable screen blanking
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 5 Aug 2012 21:18:08 +0000 (00:18 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 5 Aug 2012 21:18:08 +0000 (00:18 +0300)
recipes/pandora-system/pandora-scripts/op_lcdsettings.sh

index 22e5c89..12b318e 100644 (file)
@@ -98,9 +98,7 @@ case $mainsel in
          sed -i "s/.*xset.*/DISPLAY=:0 xset s off/g" /home/${user}/.xinitrc
          zenity --info --title="Screen blanking" --text "The automatic screen blanking has been disabled." --timeout 6
          DISPLAY=:0 xset s off
          sed -i "s/.*xset.*/DISPLAY=:0 xset s off/g" /home/${user}/.xinitrc
          zenity --info --title="Screen blanking" --text "The automatic screen blanking has been disabled." --timeout 6
          DISPLAY=:0 xset s off
-    fi;;
+       fi;;
 esac
 done
 
 esac
 done
 
-
-DISPLAY=:0 xset s off