SEARCH
TOOLBOX
LANGUAGES
ON0DSTUX

ON0DSTUX

From ON0DAS

Jump to: navigation, search

This will send back the uptime of the gateway pc as a datachannel message.

Usage

  • Set YOUR to "ON0DSTUX", without spaces and without the quotation marks :)
  • Push your PTT button once. The repeater will reply with a MSG telling the gw uptime.
  • Don't forget to set YOUR back to CQCQCQ or you will query the repeater with each PTT !.

Example of result

Image:ON0DSTUX-Result.jpg

Source code of command

Contents of /dstar/scripts/exec-U.sh

#!/bin/bash
# script by ON4SAX
str_up=`uptime | sed s/,//g| awk '{ print $3 $4 " " $5}'`
echo "up $str_up" > /dstar/tmp/message-b