#!/bin/sh

# In case of cluster/ volume mounted on /media/nss we 
# need to wait till volume is mounted during system restarts.
# Lets wait till the volumed mounted or bail out after 60 seconds
COUNT=1;
while [ $COUNT -lt 21 ]
do
        if [ ! -f /etc/opt/novell/iprint/conf/iprintconf.properties ]; then
                COUNT=$((COUNT+1));
                sleep 3;
        else
                break;
        fi
done

