deb121_wrapi 377 B

12345678910111213141516
  1. #!/bin/sh
  2. #= Change this to your real WolfRecorder serial ==
  3. WRSERIAL=WR00000000000000000000000000000000
  4. #=============================================
  5. if [ $# -ne 1 ]
  6. then
  7. echo "Usage: /bin/wrapi \"action\""
  8. echo "Example: /bin/wrapi \"backupdb\""
  9. exit
  10. fi
  11. ACTION=$1
  12. /usr/bin/curl -o /dev/null "http://127.0.0.1/wr/?module=remoteapi&key=${WRSERIAL}&action=${ACTION}"