Update README.md

This commit is contained in:
bilbo-b 2021-02-02 22:42:58 +01:00 committed by GitHub
parent f3dbfc44f4
commit cd193d1585
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,21 @@
# rock # rock
a shell script to remote control some aspects of a roonlabs ROCK installation a shell script to remote control some aspects of a roonlabs ROCK installation
rock <cmd> rock <cmd>
possible <cmd> are:
poweroff: shuts down gracefully and powers off at $ROCKIP possible <cmd> are:
wake: sends "magic packet" to ROCK over network to power on poweroff: shuts down gracefully and powers off at $ROCKIP
status: gives back some JSON-formatted status output of ROCK at $ROCKIP wake: sends "magic packet" to ROCK over network to power on
has_cdrom: outputs "no_cd_rom" if none connected or other status: gives back some JSON-formatted status output of ROCK at $ROCKIP
eject: ejects disk in a connected CDROM (if one is connected) has_cdrom: outputs "no_cd_rom" if none connected or other
reboot: reboots your ROCK eject: ejects disk in a connected CDROM (if one is connected)
restart: restarts ROON software reboot: reboots your ROCK
stop: stops ROON software restart: restarts ROON software
wake: sends "magic packet" to ROCK over network to power on stop: stops ROON software
requirements: wake: sends "magic packet" to ROCK over network to power on
poweroff, status, has_cdrom, eject, reboot, restart, stop need "curl" requirements:
wake needs "etherwake" and the proper mac-address in /etc/ethers for "rock" poweroff, status, has_cdrom, eject, reboot, restart, stop need "curl"
status, has_cdrom and eject need "jq" installed wake needs "etherwake" and the proper mac-address in /etc/ethers for "rock"
status, has_cdrom and eject need "jq" installed>
for more information on ROCK (roon optimized core kit) see https://help.roonlabs.com/portal/en/kb/articles/roon-optimized-core-kit