This is the mail archive of the
mailing list for the Cygwin project.
Re: Cygwin's CVS - can it be a network server?
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" ]
servdir="`cygpath -u $SYSTEMROOT`/SYSTEM32/DRIVERS/ETC"
servdir="`cygpath -u $WINDIR`/SERVICES"
ln -s $servdir/SERVICES /etc/services
ln -s $servdir/HOSTS /etc/hosts
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html