You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by ar...@apache.org on 2009/06/01 22:36:26 UTC

svn commit: r780818 - /incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm

Author: arkurth
Date: Mon Jun  1 20:36:26 2009
New Revision: 780818

URL: http://svn.apache.org/viewvc?rev=780818&view=rev
Log:
VCL-23
Added call to set the Cygwin SSHD service startup mode to auto in Windows_mod.pm::post_load(). This is necessary for images created with the old code because none of the scripts stored in the image perform this step. The update_cygwin.cmd script that gets run after an image is loaded with the new code performs this step.

Modified:
    incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm

Modified: incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm?rev=780818&r1=780817&r2=780818&view=diff
==============================================================================
--- incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm (original)
+++ incubator/vcl/trunk/managementnode/lib/VCL/Module/OS/Windows_mod.pm Mon Jun  1 20:36:26 2009
@@ -376,6 +376,16 @@
 	if (!$self->logoff_users()) {
 		notify($ERRORS{'WARNING'}, 0, "failed to log off all currently logged in users");
 	}
+
+=item *
+
+Set the Cygwin SSHD server startup mode to auto
+
+=cut
+
+	if (!$self->set_service_startup_mode('sshd', 'auto')) {
+		notify($ERRORS{'WARNING'}, 0, "unable to set sshd service startup mode to auto");
+	}
 	
 =item *