nc -q-1 does not work on openSUSE
Jigish Gohil <[email protected]> Tue, 15 Jun 2010 15:41:07 +0530
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Stéphane Following commit does not work on openSUSE's netcat. revno: 1232 committer: Stéphane Graber <stgraber-GeWIH/[email protected]> branch nick: ldm-trunk timestamp: Mon 2010-01-25 14:04:42 -0500 message: openbsd-netcat doesn't behave the same as netcat-traditional, so force listening forever (-q-1) for everyone We get following error: netcat: invalid option -- 'q' netcat -h for help For now I have added this patch to remove it: diff -ur a/screen.d/ldm b/screen.d/ldm --- a/screen.d/ldm 2010-06-15 14:59:30.000000000 +0530 +++ b/screen.d/ldm 2010-06-15 15:00:25.000000000 +0530 @@ -87,7 +87,7 @@ if [ -n "${LDM_SERVER}" ]; then test ! -d /var/run/ldm && mkdir -p /var/run/ldm for SRV in $LDM_SERVER ; do - nc -q-1 -w 5 $SRV 9571 > /var/run/ldm/$SRV + nc -w 5 $SRV 9571 > /var/run/ldm/$SRV # Write server to /etc/hosts so reverse DNS lookup is not necessary if ! grep -q "$SRV" /etc/hosts ; then echo "$SRV server-$SRV" >> /etc/hosts Please see what can be done to fix this for everyone. Cheers -J ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _____________________________________________________________________ Ltsp-developer mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-developer For additional LTSP help, try #ltsp channel on irc.freenode.net