diff options
Diffstat (limited to 'src/store_hack.sh')
| -rwxr-xr-x | src/store_hack.sh | 28 |
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 |
