MAG-200 Operator Guide Rev 1.05.
rm -f $cmd
echo " TestComand ">$cmd
echo "####### END COMMAND #######">>$cmd
./cmd_send.sh
$cmd
rm -f $cmd
and the addition of this command analysis in the file cmd_parse.sh in the device:
TestComand)
echo “steps for receiving TestComand”
;;
Format of the file containing operator commands
The operator forms the file containing sequentially listed commands to be performed on
the device.
The file has the following format:
COMMAND (command name)
Command parameters (text).
####### END COMMAND #######
The file for the command Reboot:can serve as and example
Reboot
####### END COMMAND #######
The configuration of the transfer and handling of operator commands
subsystem.
The value of “key ID” of the operator must be set in the variable
MAG200_OP_KEY on the server.
IP address and the multicast group port for transferring commands must be set
in the variables IP_CMD and PORT_CMD in the file cmd_send.sh
Set parameters TeleTec.mcip_mng, TeleTec.mcport_mng in IP-
а
ddress and
multicast group port in dhcpd. conf.
Operator commands
The following commands are supplied in the device program:
24