You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.


You can view and copy the source of this page.

Return to Diagnostic and management tools.

list.sh[edit]

Allows to see the list of active context or connected repeaters

Command line parameters:


<syntaxhighlight lang="bash">

  1. !/bin/bash

CALL="dbus-send --system --dest=me.burnaway.BrandMeister --type=method_call --print-reply /me/burnaway/BrandMeister"

if [ "$1" == "-c" ] then

 echo
 echo BrandMeister context list:
 echo
 $CALL me.burnaway.BrandMeister.getContextList | \
   grep -E -o "[a-z0-9-]{36}" | \
   xargs -l -I {} \
   $CALL me.burnaway.BrandMeister.getContextData string:'{}'
 exit

fi

if [ "$1" == "-r" ] then

 echo
 echo BrandMeister repeater list:
 echo
 
 $CALL me.burnaway.BrandMeister.getContextList uint32:2 | \
   grep -E -o "[a-z0-9-]{36}" | \
   xargs -l -I {} \
   $CALL me.burnaway.BrandMeister.getRepeaterData string:'{}'
 exit

fi

echo echo Usage: echo $0 -c Get active context list echo $0 -r Get connected repeater list echo </syntaxhighlight>

trace.sh[edit]

Print run-rime stack trace.

<syntaxhighlight lang="bash">

  1. !/bin/bash

sudo killall -s SIGUSR2 brandmeister sudo tail -n 10 /var/log/syslog | grep -E "brandmeister.+Stack" | tail -n 1 | sed -e 's/#012/\n/g' </syntaxhighlight>