#!/bin/bash

if [ ! $1 ]; then
	echo "IP Address of iSNS Server not provided"
        exit 1
fi

/sbin/isnsc -s $1 -t -p 3205 -i 12
RET=$?
if [ $RET != 0 ]; then
	exit 1
else
	exit 0
fi
