#!/bin/bash

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

if [ -f /sbin/isns_initiators ]; then
	/sbin/isns_initiators $1
fi
if [ -f /sbin/isns_network_portals ]; then
	/sbin/isns_network_portals $1
fi
