2014

Table Of Contents
To configure automatic start-up of a Mac OS X license server
1 Create a directory titled flexnetserver under the home directory; for
example, /usr/local/flexnetserver.
2 Move the following files: lmgrd, adskflex, lmutil, and your product license
file (.lic) into the flexnetserver directory created in Step 1.
3 If it does not already exist, create the directory StartupItems under /Library
using the sudo command. For example, sudo mkdir StartupItems.
4 Create a startup item directory; for example, /Users/<user id>/adsknlm.
5 Create an executable script file; for example, adsknlm, by entering the
following in Terminal:
NOTE The executable file name must be the same as the directory name.
#!/bin/sh
./etc/rc.common
StartService() {
ConsoleMessage “Starting Autodesk Network License
Manager”
/usr/local/flexnetserver/lmgrd -c\
/usr/local/flexnetserver/productlicense.lic -l\
/usr/local/flexnetserver/debug.log
}
StopService() {
ConsoleMessage “Stopping Autodesk Network License
Manager”
/usr/local/flexnetserver/lmutil lmdown -q -all -force
}
RestartService() {
ConsoleMessage “Restarting Autodesk Network License
Manager”
/usr/local/flexnetserver/lmutil lmreread -c
/usr/local/flexnetserver/productlicense.lic
}
RunService “$1”
6 Grant the executable permission to the script by entering the following
in Terminal:
chmod +x adsknlm
82 | Chapter 3 Autodesk Licensing Guide