Date: Wed, 15 Jul 1998 07:23:05 +0200 (CEST) From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: patrick@cre8tivegroup.com (Patrick Gardella) Cc: joelh@gnu.org, freebsd-questions@FreeBSD.ORG Subject: Re: RC5-64 client dies shortly after starting in /etc/rc.local Message-ID: <199807150523.HAA08014@internal> In-Reply-To: <XFMail.980714162624.patrick@cre8tivegroup.com> from Patrick Gardella at "Jul 14, 98 04:26:24 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Why don't you try to get the latest version of the rc5des client? I know it > works, and you won't have to use /dev/null to catch messages, since it has a > quiet mode. > > ftp.distributed.net > > Patrick > > > > On 14-Jul-98 Joel Ray Holveck wrote: > > I'm a bit puzzled by this one. I'm running the RC5-64 client in > > /etc/rc.local with the command: > > > > echo -n ' rc564' > > nohup /home/joelh/rc56401/rc564 -runoffline > /dev/null 2> /dev/null \ > > < /dev/null & > > > > (The \ was added so I could fit it in the message. In the actual file > > it's one line.) > > > > I had been running just > > /home/joelh/rc56401/rc564 -runoffline > /dev/null > > but was having the same problems. I added the nohup, 2>, and < in an > > attempt to get it to quit dying. Same here (also with the newest client). Here it is being started from /usr/local/etc/rc.d and it dies shortly after being launched. However, adding a sleep before it helped a lot :-) Thats what I do: [ -d /usr/local/lib/dnet ] || exit 1 cd /usr/local/lib/dnet [ -x rc5des -a -r rc5des.ini ] || exit 1 [ -f /etc/rc.conf ] && . /etc/rc.conf b=rc5des [ "$linux_enable" = "YES" ] && b=rc5des.linux echo -n " rc5" PATH=$PATH:/usr/local/lib/dnet export PATH ( sleep 5 idprio 5 /usr/bin/su nobody -c "$b -ini rc5des.ini > logfile 2>&1 &" ) & -Andre P.S.: At the moment, I try run the linux client because it's faster on MMX... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150523.HAA08014>