merge in latest release

This commit is contained in:
Neal Conner 2019-03-04 12:40:38 -05:00 committed by Josh Harvey
parent e7ef9d0753
commit 760d765520
4 changed files with 34 additions and 1 deletions

13
bin/lamassu-coinatmradar Normal file
View file

@ -0,0 +1,13 @@
#!/usr/bin/env bash
SEED="$(cat ~/seeds/seed.txt)"
echo
echo "Here is the 'External ID' of your paired machine(s), for use under the 'ATM / Teller details' of your CoinATMRadar listing:"
echo
su - postgres -c "psql \"lamassu\" -Atc \"select regexp_replace(left(device_id,32), '$', ' '),regexp_replace(name, '^', ' ') from devices\""
echo
echo "If communicating with CoinATMRadar, it may be helpful to relay your 'Operator ID':"
echo
/usr/bin/hkdf operator-id "$SEED" | cut -c -32
echo