remoteshell fix for SLES 12 support, sshd is not enabled by default on SLES 12, enable sshd in remoteshell postscript

This commit is contained in:
ligc 2013-10-21 11:02:37 +08:00
parent 255811ee1f
commit e570ed6e49
2 changed files with 5 additions and 2 deletions

View File

@ -42,11 +42,11 @@ sub Version
my $version = shift;
if ($version eq 'short')
{
$version = '' #XCATVERSIONSUBHERE ;
$version = '' . '2.9' ;
}
else
{
$version = 'Version ' #XCATVERSIONSUBHERE #XCATSVNBUILDSUBHERE ;
$version = 'Version ' . '2.9' . ' (git commit aabb, built Thu Oct 17 14:52:04 CST 2013)' ;
}
return $version;

View File

@ -460,6 +460,9 @@ then
fi
else
#service sshd restart
# sshd is not enabled on SLES 12 by default
# does not hurt anything to re-enable if it is enabled already
enableservice sshd
restartservice sshd
fi