diff --git a/orb-attest/README.md b/orb-attest/README.md index 24e93145..3793443b 100644 --- a/orb-attest/README.md +++ b/orb-attest/README.md @@ -11,6 +11,6 @@ The token is generated by: ## Busctl commands To fetch the auth token from the command line via dbus, run the following: -``` +```bash busctl call --address=unix:path=/tmp/worldcoin_bus_socket org.worldcoin.AuthTokenManager1 /org/worldcoin/AuthTokenManager1 org.freedesktop.DBus.Properties Get ss "org.worldcoin.AuthTokenManager1" "Token" ``` diff --git a/orb-supervisor/README.md b/orb-supervisor/README.md index b206fa66..71da31f8 100644 --- a/orb-supervisor/README.md +++ b/orb-supervisor/README.md @@ -77,3 +77,10 @@ It is best industry practice to write dedicated services *where possible*, where + Sound + LED + library for basic and repeatable "component" + +## Useful dbus commands + +Reboot orb without sudo after 10 seconds: +```bash +busctl call --address=unix:path=/tmp/worldcoin_bus_socket org.worldcoin.OrbSupervisor1 /org/worldcoin/OrbSupervisor1/Manager org.worldcoin.OrbSupervisor1.Manager ScheduleShutdown st "reboot" $(date -d "+10 seconds" +%s%N | cut -c1-16) +```