blob: bd54b09d40ef1b7339fbec6dc0a537a01cf0b856 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|