Start Up Script for Flexlm on SolarisThe Flexlm license manager needs to automatically start up each time your solaris license server machine is rebooted. This is normally accomplished by placing the startup instructions in the /etc/rc2.d directory. Each script in this directory will be executed upon startup. The actual script can vary but an example is shown below: #!/sbin/sh # # Start/Stop the lmgrd daemon # # # If lmgrd is already executing, don't re-execute it. # PATH=/usr/bin:/bin FLEXHOME=/opt/flexlm LMGRD=$FLEXHOME/lmgrd LICFILE=$FLEXHOME/license.dat LOGFILE=/tmp/flexlm.log case $1 in 'start') rm -f $LOGFILE if [ -x $LMGRD ] then if [ -f $LICFILE ] then $LMGRD -c $LICFILE -l $LOGFILE fi fi ;; 'stop') if [ -x $LMGRD ] then $LMGRD -x lmdown fi ;; *) echo "usage: /etc/rc2.d/S98lmgrd {start|stop}" ;; esac |