op_osupgrade: use terminal for logs
[openpandora.oe.git] / recipes / pandora-system / pandora-scripts / op_calibrate.sh
1 #!/bin/bash
2 TSLIB_CONSOLEDEVICE=none op_runfbapp ts_calibrate
3 sudo /usr/pandora/scripts/op_touchinit.sh
4 while ! zenity --question --title="Check Calibration" --text="Your new calibration setting has been applied.\n\nPlease check if the touchscreen is now working properly.\nIf not, you might want to try a recalibration.\n\n(Hint: use the nubs to press the button if the touchscreen is way off)" --ok-label="The touchscreen is fine" --cancel-label="Recalibrate"; do
5       TSLIB_CONSOLEDEVICE=none op_runfbapp ts_calibrate
6       sudo /usr/pandora/scripts/op_touchinit.sh  
7 done