#!/bin/sh
# Script which should be installed in /etc/rc2.d with a name
# such as S50flexlm to start up FLEXlm's lmgrd daemon.

# Change these variables to match the directory where lmgrd is installed
# on your system and where your license data file can be found

LMGRD_DIR=/usr/local/flexlm/sgi/v5
LM_LICENSE_FILE=/usr/local/flexlm/licenses/license.dat

echo Launching FLEXlm
if [ -x $LMGRD_DIR/lmgrd ] ; then
	$LMGRD_DIR/lmgrd -c $LM_LICENSE_FILE &
fi
