TIP: Click on subject to list as thread! ANSI
echo: binkd
to: ALL
from: FABIO BIZZI
date: 2019-11-07 14:30:00
subject: Exec statement

Hello All!

I'm trying to execute a shell script with binkd on a file receive but it
doesn't work. :(

The config is this:

exec "/home/husky/bin/netsegments.sh" net33?.???

I'm sending the file named net335.312 from my point and this is the log at the
receiving node:

- 07 Nov 14:34:40 [15148] SYS Office Point
- 07 Nov 14:34:40 [15148] ZYZ Fabio Bizzi
- 07 Nov 14:34:40 [15148] LOC Roma, Italia
- 07 Nov 14:34:40 [15148] NDL 115200,TCP,BINKP
- 07 Nov 14:34:40 [15148] TIME Thu,  7 Nov 2019 14:34:39 +0100
- 07 Nov 14:34:40 [15148] VER binkd/1.1a-96/Linux binkp/1.1
+ 07 Nov 14:34:40 [15148] addr: 2:335/364.1@fidonet
- 07 Nov 14:34:40 [15148] OPT NDA EXTCMD CRYPT GZ
+ 07 Nov 14:34:40 [15148] Remote supports asymmetric ND mode
+ 07 Nov 14:34:40 [15148] Remote supports EXTCMD mode
+ 07 Nov 14:34:40 [15148] Remote requests CRYPT mode
+ 07 Nov 14:34:40 [15148] Remote supports GZ mode
- 07 Nov 14:34:40 [15148] TRF 0 389
+ 07 Nov 14:34:40 [15148] Remote has 0b of mail and 389b of files for us
+ 07 Nov 14:34:40 [15148] pwd protected session (MD5)
- 07 Nov 14:34:40 [15148] session in CRYPT mode
- 07 Nov 14:34:40 [15148] receiving net335.312 (389 byte(s), off 0)
+ 07 Nov 14:34:40 [15148] net335.312 -> /home/husky/in.sec/net335.312
+ 07 Nov 14:34:40 [15148] rcvd: net335.312 (389, 389.00 CPS,
2:335/364.1@fidonet)
+ 07 Nov 14:34:40 [15148] done (from 2:335/364.1@fidonet, OK, S/R: 0/1 (0/389
bytes))
  07 Nov 14:34:40 [15148] session closed, quitting...
  07 Nov 14:34:40 [23009] rc(15148)=0

Obviusly the shell script wasn't executed. :(

Where am I wromg?

P.S. These other exec statements are working fine.

exec "/home/husky/bin/mfreq-srif -c /home/husky/mfreq/etc/srif.cfg -s *S" *.req
exec "/home/husky/bin/mailin.sh" *.su? *.mo? *.tu? *.we? *.th? *.fr? *.sa?
*.tic *.pkt


Thanks! :)

Ciao!
Fabio

--- GoldED+/LNX 1.1.5-b20180707
* Origin: ]\/[imac Rebirth Boss Point (2:335/364.1)

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™.