TIP: Click on subject to list as thread! ANSI
echo: binkd
to: PAUL QUINN
from: BENNY PEDERSEN
date: 2018-06-10 23:33:00
subject: binkd.cfg exec does not w

Hello Paul!

10 Jun 2018 23:00, Paul Quinn wrote to Benny Pedersen:

 BP>> exec /bin/sh /home/xpoint/bin/doall.sh *.[pP][kK][tT]
 BP>> exec /bin/sh /home/xpoint/bin/doall.sh *.[mwtfs][oehrau][0-9a-zA-Z]
 BP>> exec !/usr/bin/perl /home/xpoint/bin/sln_sf.pl *S *.req

 BP>> how to make it work ?

 PQ> Have you tried quote marks (") where required?

my logic sense says /bin/sh does not need it, since there is no space in that
command ?

if /bin/sh is called and executed the next args would be out of binkd hands to
handle, no ?

i have aswell tryed example config variant, but it fails, funny things is that
its logged as working, but not anyway since still unprosseded files in my
inbound

   ----- doall.sh begins -----
#!/bin/sh
#
# only run if not all ready doing
#
if [ -f /home/xpoint/fido/lock ]; then
echo 'Already running - exiting dohpt;';
exit;
fi
#
# clean file areas with expire
#
/usr/bin/htick clean
#
# toss echomail
#
/usr/bin/hpt toss
#
# process afix
#
/usr/bin/hpt afix
#
# scan echomail out
#
/usr/bin/hpt scan
#
# pack outbound mail out
#
/usr/bin/hpt pack
#
# make hpt queue update
#
/usr/bin/hpt qupd
#
# link echomail
#
/usr/bin/hptlink
#
# process afix
#
/usr/bin/htick ffix
#
# make sure file exists
#
touch /home/ftp/pub/filelist/annfecho.txt
#
# make file list
#
/usr/bin/htick toss annfecho /home/ftp/pub/filelist/annfecho.txt filelist
/home/ftp/pub/filelist/filelist.txt
#
# create lda archive of it
#
/usr/bin/lha a /home/ftp/pub/filelist/filelist.lha
/home/ftp/pub/filelist/filelist.txt
#
# make zip archive of it
#
/usr/bin/zip -9 /home/ftp/pub/filelist/filelist.zip
/home/ftp/pub/filelist/filelist.txt
#
# make rar archive of it
#
/opt/bin/rar a -std -inul /home/ftp/pub/filelist/filelist.rar
/home/ftp/pub/filelist/filelist.txt
#
# make nodelist update if nlupdate exists :)
#
[ -f /usr/bin/nlupdate ] && /usr/bin/nlupdate
#
# announce new files
#
/usr/bin/htick announce
#
TMP=`cat /home/ftp/pub/filelist/annfecho.txt | wc -l`
if [ $TMP -ge 1 ];
then
/usr/bin/hpt post -nf "Sysop" -af 2:230/38.0 -nt "All" -at 2:230/38.0 -s "new
fileareas at xpoint" -e "xpoint_info" -z "yes" -o "Enough" -f loc -d
/home/ftp/pub/filelist/annfecho.txt
fi
#
# update queue reports
#
/usr/bin/hpt qrep
#
# end
#
   ----- doall.sh ends -----

sugestions welcommed


 Regards Benny

... there can only be one way of life, and it works :)

--- Msged/LNX 6.1.2 (Linux/4.17.0-gentoo (x86_64))
* Origin: I will always keep a PC running CPM 3.0 (2:230/0)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.