This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin's CVS - can it be a network server?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]