2007-10-26 22:44:33 +00:00
|
|
|
#!/bin/ksh
|
|
|
|
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
|
|
|
|
#(C)IBM Corp
|
|
|
|
#
|
|
|
|
#TODO: something
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
. $XCATROOT/lib/functions
|
|
|
|
|
|
|
|
echo "$RSHC" | grep "ssh" >/dev/null 2>&1
|
|
|
|
if [ "$?" = "0" ]
|
|
|
|
then
|
2012-05-15 03:17:41 +00:00
|
|
|
logger -t xcat -p local4.info "Install: Running makesshgkh on the server"
|
2007-10-26 22:44:33 +00:00
|
|
|
|
|
|
|
service sshd start
|
|
|
|
ssh $MASTER $XCATROOT/sbin/makesshgkh $NODE
|
|
|
|
service sshd stop
|
|
|
|
fi
|
|
|
|
|
|
|
|
exit 0
|