xcat-core/xCAT/postscripts/makesshgkh
2012-10-31 11:22:00 +00:00

21 lines
382 B
Bash
Executable File

#!/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
logger -t xcat -p local4.info "Install: Running makesshgkh on the server"
service sshd start
ssh $MASTER $XCATROOT/sbin/makesshgkh $NODE
service sshd stop
fi
exit 0