delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/21/15:49:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B82BB27.300267BD@etr-usa.com>
Date: Tue, 21 Aug 2001 13:48:55 -0600
From: Warren Young <warren AT etr-usa DOT com>
Organization: -ENOENT
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin's CVS - can it be a network server?
References: <8BFEC206D292D311921500508B0BCB8D08791E06 AT msgstl01 DOT sbc DOT com> <20010818220509 DOT C536 AT cygbert DOT vinschen DOT de> <7434-Tue21Aug2001101903+0100-starksb AT ebi DOT ac DOT uk> <3B828F69 DOT 61796D0E AT etr-usa DOT com> <20010821131605 DOT C22255 AT redhat DOT com>

Christopher Faylor wrote:
> 
> Actually, maybe just a symbolic link in /etc to the correct services
> file would be better.

I came to that conclusion too, and tried it.  It does work, and it's
more natural than my original solution.

> It would have to be added as a post-install script, though, obviously.

How does Cygwin's post-install system work?  If there's a Bourne shell
script you can modify, add this:

if [ "$OS" = "Windows_NT" ]
then
	servdir="`cygpath -u $SYSTEMROOT`/SYSTEM32/DRIVERS/ETC"
else
	servdir="`cygpath -u $WINDIR`/SERVICES"
fi
ln -s $servdir/SERVICES /etc/services

-- 
= Warren -- ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019