aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/store_hack.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/store_hack.sh b/src/store_hack.sh
new file mode 100755
index 0000000..bd54b09
--- /dev/null
+++ b/src/store_hack.sh
@@ -0,0 +1,28 @@
+#!/usr/bin/env zsh
+
+clear
+figlet 'gps_savr'
+echo '============================================='
+
+sleep 1
+
+echo '[*] setting up...'
+
+src/setup.sh
+src/wait_for_fix.sh
+
+sleep 1
+
+echo "[*] press enter to begin."
+
+read
+
+echo '[*] doing it.'
+
+while true; do
+ read x
+
+ echo "[*] saving coords..."
+
+ echo "`date +%s`" "`src/dirty_hack.sh`" "$x" | tee --append $1
+done \ No newline at end of file