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: /etc/services


On Wed, Apr 18, 2001 at 10:13:27AM +0200, Corinna Vinschen wrote:
> 
> #!/bin/sh
> cd /etc
> rm -f services
> _sys="`uname -a`"
> _nt=`expr "$_sys" : "CYGWIN_NT"`
> if [ $_nt -gt 0 ]
> then
>   _wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
> else
>   _wservices="${WINDIR}\\SERVICES"
> fi
> _services=`cygpath -u "${_wservices}"`
> ln -s ${_services}
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
Thanks. I filed it in my FAQ archive.

EW


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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