Author: fapeeler
Date: Thu Apr  5 20:23:21 2012
New Revision: 1310054

URL: http://svn.apache.org/viewvc?rev=1310054&view=rev
Log:
VCL-575

corrections in Linux case name and windows sshd servicename

Modified:
    incubator/vcl/trunk/managementnode/bin/gen-node-key.sh

Modified: incubator/vcl/trunk/managementnode/bin/gen-node-key.sh
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/bin/gen-node-key.sh?rev=1310054&r1=1310053&r2=1310054&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/bin/gen-node-key.sh (original)
+++ incubator/vcl/trunk/managementnode/bin/gen-node-key.sh Thu Apr  5 20:23:21 
2012
@@ -126,7 +126,7 @@ case $OS in
       SSHSTART='service ssh start'
       ;;  
 
-   *LINUX*) 
+   *Linux*) 
       echo "detected Linux OS"
       SSHDCONFIG='/etc/ssh/sshd_config'
       SSHSTOP='service sshd stop'
@@ -136,8 +136,8 @@ case $OS in
    *CYGWIN*) 
       echo "detected Windows OS"
       SSHDCONFIG='/etc/sshd_config'
-      SSHSTOP='net stop ssh'
-      SSHSTART='net start ssh'
+      SSHSTOP='net stop sshd'
+      SSHSTART='net start sshd'
       ;;  
 
    *Darwin*) 


Reply via email to