| |
N1URO > FBB 16.01.18 09:00l 55 Lines 1995 Bytes #999 (0) @ WW
BID : 58424_N1URO
Read: GAST
Subj: 20_epursat
Path: DB0FFL<OE2XZR<OE5XBR<OE1XAB<HG8LXL<N0KFQ<GB7CIP<N1URO
Sent: 180116/0624Z @:N1URO.#CCT.CT.USA.NOAM #:58424 [Unionville] $:58424_N1URO
From: N1URO@N1URO.#CCT.CT.USA.NOAM
To : FBB@WW
Greetings;
I originally submitted this to the mail list but the domain says it no longer
exists so I'll cc my mail here:
Bernard et al;
I've modified the 20_epursat script. In the original script, Bernard
sets a "sysop" variable based off of fbbgetconf (which is what I do with
the other two I submitted) but in this one, SP SYSOP is called which
while FBB will CC those listed in sysmail, the original "SP SYSOP" mail
requires an additional kill by the sysop to flush it. Here's my script:
#!/bin/bash
BINDIR=/usr/local/sbin
DATADIR=/usr/local/var/ax25/fbb
SYSOP=`/usr/local/sbin/fbbgetconf sysmail`
HADD=`/usr/local/sbin/fbbgetconf call`
echo
echo "--- Running satdoc & satupdat"
echo
if [ -e $DATADIR/sat/amsat.txt ];
then
cd $DATADIR/sat
echo -e "sp $SYSOP\r\nSATDOC results\r\n" > $DATADIR/satdoc.res
$BINDIR/satdoc amsat.txt >> $DATADIR/satdoc.res
$BINDIR/satdoc -i amsat.txt >> $DATADIR/satdoc.res
echo -e "\r\n/ex\r\n" >> $DATADIR/satdoc.res
cat $DATADIR/satdoc.res >> $DATADIR/mail/mail.in
echo -e "sp $SYSOP\r\nSATUPDAT results\r\n" >
$DATADIR/satupdat.res
$BINDIR/satupdat amsat.txt /n /d60 >> $DATADIR/satupdat.res
$BINDIR/satupdat amsat.txt /a /d60 >> $DATADIR/satupdat.res
echo -e "\r\n/ex\r\n" >> $DATADIR/satupdat.res
cat $DATADIR/satupdat.res >> $DATADIR/mail/mail.in
rm amsat.txt
fi
ret=$?
exit $ret
---- EOF ----
In reality, the only changes are 2 lines that contain "sp sysop ..."
changed to: "sp $SYSOP ..."
Feel free to include this in the distro Bernard.
73 de n1uro
Lese vorherige Mail | Lese naechste Mail
| |