Displaying 5 results from an estimated 5 matches for "_my_etcdir".
2003 Oct 30
0
[PATCH] contrib/cygwin/ssh-host-config: Fix a CRLF/LF issue
...: /cvs/openssh_cvs/contrib/cygwin/ssh-host-config,v
retrieving revision 1.11
diff -p -u -r1.11 ssh-host-config
--- contrib/cygwin/ssh-host-config 22 Sep 2003 02:32:01 -0000 1.11
+++ contrib/cygwin/ssh-host-config 30 Oct 2003 10:18:22 -0000
@@ -468,19 +468,21 @@ then
fi
# Care for services file
+_my_etcdir="/ssh-host-config.$$"
if [ $_nt -gt 0 ]
then
- _wservices="${SYSTEMROOT}\\system32\\drivers\\etc\\services"
- _wserv_tmp="${SYSTEMROOT}\\system32\\drivers\\etc\\srv.out.$$"
+ _win_etcdir="${SYSTEMROOT}\\system32\\drivers\\etc"
+ _services="${_my_et...
2009 Jan 28
1
[PATCH] Update Cygwin service installer script for new Cygwin release
...ource ${CSIH_SCRIPT}
port_number=22
privsep_configured=no
privsep_used=yes
-cygwin_value="ntsec"
+cygwin_value=""
password_value=
# ======================================================================
@@ -76,7 +76,7 @@ update_services_file() {
fi
_serv_tmp="${_my_etcdir}/srv.out.$$"
- mount -t -f "${_win_etcdir}" "${_my_etcdir}"
+ mount -o text -f "${_win_etcdir}" "${_my_etcdir}"
# Depends on the above mount
_wservices=`cygpath -w "${_services}"`
@@ -278,8 +278,6 @@ install_service() {
e...
2011 Feb 21
1
[PATCH/cygwin]: Revised sshh-host-config script
...=================================================================
@@ -81,61 +125,58 @@ update_services_file() {
local _spaces
local _serv_tmp
local _wservices
+ local ret=0
- if csih_is_nt
- then
- _win_etcdir="${SYSTEMROOT}\\system32\\drivers\\etc"
- _services="${_my_etcdir}/services"
- # On NT, 27 spaces, no space after the hash
- _spaces=" #"
- else
- _win_etcdir="${WINDIR}"
- _services="${_my_etcdir}/SERVICES"
- # On 9x, 18 spaces (95 is very touchy), a space after the hash
- _spaces=&q...
2010 Mar 16
9
openssh-5.5p1
Hi,
We will probably do an openssh-5.5p1 release soon, mainly for the
sshd_config:AuthorizedKeysFile bug, but containing a few other small
patches too. If you have any portability fixes that need to go in then
2003 Nov 05
0
[PATCH] contrip/cygwin: Reworking the installation support
...red}" != "yes" ]
then
echo >> ${SYSCONFDIR}/sshd_config
- echo "UsePrivilegeSeparation $privsep_used" >> ${SYSCONFDIR}/sshd_config
+ echo "UsePrivilegeSeparation ${privsep_used}" >> ${SYSCONFDIR}/sshd_config
fi
# Care for services file
_my_etcdir="/ssh-host-config.$$"
-if [ $_nt -gt 0 ]
+if [ ${_nt} -gt 0 ]
then
_win_etcdir="${SYSTEMROOT}\\system32\\drivers\\etc"
_services="${_my_etcdir}/services"
+ # On NT, 27 spaces, no space after the hash
+ _spaces=" #"
else...