busybox's inetd on arm and sredird

Vladimir N. Oleynik dzo at simtreas.ru
Thu Feb 2 12:03:27 UTC 2006


Wim Vinckier wrote:

> I'm trying to get sredird http://freshmeat.net/projects/sredird/
> compiled for my busybox on ARM9 but I'm having a strange problem.  It
> looks a bit like this thread:
> http://www.busybox.net/lists/busybox/2005-January/013428.html
> When I'm starting sredird from console, it runs fine but starting from
> inetd I get the message there not enough arguments.   Making a dump of
> the arguments, the first argument (argv[0]) isn't my programname but
> the real first argument.  Anyone any hints?  Oh, I'm running busybox
> 1.1.0 and this is my inetd.conf:
> sredird stream  tcp nowait  root /usr/sbin/sredird 5 /dev/ttyATM1
> /var/lock/LCK..ttyAM1

sredird stream  tcp nowait  root /usr/sbin/sredird sredird 5 /dev/ttyATM1 
/var/lock/LCK..ttyAM1

See exmples/inetd.conf


--w
vodz



More information about the busybox mailing list