This repository has been archived on 2026-06-01. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
lamassu-server/packages/server/bin/lamassu-devices
2025-12-31 19:04:13 +01:00

7 lines
185 B
Bash
Executable file

#!/usr/bin/env bash
echo
echo "Your list of paired machines and their Device IDs and names:"
echo
su - postgres -c "psql \"lamassu\" -Atc \"select device_id, name from devices\""
echo