#!/bin/bash
. /opt/novell/ncs/lib/ncsfuncs
exit_on_error nss /poolact=<Pool>
exit_on_error ncpcon mount <Volume>=<uniqueID-3digitNumber>
exit_on_error add_secondary_ipaddress <IPAddress-of-resource>
exit_on_error ncpcon bind --ncpservername=<Pool> --ipaddress=<IPAddress-of-resource>
sleep 10

ignore_error mv /media/nss/<Volume>/var/opt/novell/iprint/iprintgw.lpr /media/nss/<Volume>/var/opt/novell/iprint/iprintgw.lpr.bak
#exit_on_error rcnovell-idsd start
#exit_on_error rcnovell-ipsmd start
exit 0
