> > # If there is a running service, then stop it and remove it. > cygrunsrv --query sshd > /dev/null 2>&1 && { > cygrunsrv --stop $service; > cygrunsrv --remove $service; > };
Correction: '$service' should be replaced with 'sshd' in the two lines above. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/