delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/21/17:55:29

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
Subject: Re: Cygwin's CVS - can it be a network server?
From: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>
To: Warren Young <warren AT etr-usa DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <3B82BB27.300267BD@etr-usa.com>
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>
<3B82BB27 DOT 300267BD AT etr-usa DOT com>
Message-Id: <998429404.10514.2.camel@lifelesswks>
Mime-Version: 1.0
X-Mailer: Evolution/0.12 (Preview Release)
Date: 22 Aug 2001 07:52:55 +1000
X-OriginalArrivalTime: 21 Aug 2001 21:40:50.0529 (UTC) FILETIME=[F2315510:01C12A89]

On 21 Aug 2001 13:48:55 -0600, Warren Young wrote:
> 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:

There is. We probably need hosts as well though...
 
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
ln -s $servdir/HOSTS /etc/hosts


Rob


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