#
# MATLAB FLEXlm Network License Manager Daemon
#
# 	start and stop for Solaris 2.X
#
case "$1" in
  'start')
        if [ -f /etc/lmboot ]; then
            /etc/lmboot && echo 'MATLAB_lmgrd'
        fi
        ;;

  'stop')
#
#  lmdown link is created by lmboot
#
        /usr/tmp/lmdown > /dev/null 2>&1
        ;;

  *)
        echo "usage: $0 {start|stop}"
        ;;
esac
