17 Mar
2011
17 Mar
'11
4:36 a.m.
Hello all, I've come up with a crude fan control script for my simplex nodes. The idea was to utilize the connpgm and discpgm features in rpt.conf, to run the fan only when my node was connected to another node. Of course, I'd love to have something more sophisticated, using the Event Management System, but this is a start! connpgm=/home/kyle/pport 2211 4 1 discpgm=/home/kyle/pport 2211 4 0 #!/bin/bash # Script to control PLRI Aux ports from prompt # by Kyle Yoksh January 2011 # # # Usage: pport [node no] [parallel port pin] [logic state] # # Example, pport 2211 4 1 turns pp pin 4 on # asterisk -r -x "rpt cmd $1 cop 61,PP$2"="$3 0"
5649
Age (days ago)
5649
Last active (days ago)
0 comments
1 participants
participants (1)
-
K&R Yoksh