summaryrefslogtreecommitdiff
path: root/contrib/cygwin/ssh-host-config
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-05-09 23:48:17 +1000
committerDarren Tucker <dtucker@zip.com.au>2005-05-09 23:48:17 +1000
commitfa2211d93d3ad66ec16e4d23a14e5730a105c559 (patch)
tree2876fb36491a69f22e64d3955fa0035a90f835ef /contrib/cygwin/ssh-host-config
parent4f10e25684fdbe00b9e563b510e03f9c2aa7a192 (diff)
- (dtucker) [contrib/cygwin/ssh-host-config] Add a test and warning for a
user-mode mounts in Cygwin installation. Patch from vinschen at redhat.com.
Diffstat (limited to 'contrib/cygwin/ssh-host-config')
-rw-r--r--contrib/cygwin/ssh-host-config10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index b41a2e49b..fbfb5c195 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -583,6 +583,16 @@ then
583 chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log 583 chown "${_user}".544 ${LOCALSTATEDIR}/log/sshd.log
584 fi 584 fi
585 fi 585 fi
586 if ! ( mount | egrep -q 'on /(|usr/(bin|lib)) type system' )
587 then
588 echo
589 echo "Warning: It appears that you have user mode mounts (\"Just me\""
590 echo "chosen during install.) Any daemons installed as services will"
591 echo "fail to function unless system mounts are used. To change this,"
592 echo "re-run setup.exe and choose \"All users\"."
593 echo
594 echo "For more information, see http://cygwin.com/faq/faq0.html#TOC33"
595 fi
586 fi 596 fi
587fi 597fi
588 598