summaryrefslogtreecommitdiff
path: root/pandora/gpsp.sh
diff options
context:
space:
mode:
authornotaz2011-09-08 02:43:35 +0300
committernotaz2011-09-08 03:08:42 +0300
commitffc30d25671ca6d4d775445735abd13221b877c9 (patch)
treec4c1ab86acd9137b66861593a2da3e8204190016 /pandora/gpsp.sh
parent931b76c04b4f5c756704710ffa59ea929db82fb8 (diff)
downloadpicogpsp-ffc30d25671ca6d4d775445735abd13221b877c9.tar.gz
picogpsp-ffc30d25671ca6d4d775445735abd13221b877c9.tar.bz2
picogpsp-ffc30d25671ca6d4d775445735abd13221b877c9.zip
u7/pandora release
Diffstat (limited to 'pandora/gpsp.sh')
-rwxr-xr-xpandora/gpsp.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/pandora/gpsp.sh b/pandora/gpsp.sh
new file mode 100755
index 0000000..76bdf3b
--- /dev/null
+++ b/pandora/gpsp.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [ ! -f romdir.txt ]; then
+ echo -n "/media/" > romdir.txt
+fi
+sudo -n /usr/pandora/scripts/op_lcdrate.sh 60
+
+./gpsp "$@"
+
+# restore stuff in case of crash
+./picorestore