14.12.2012 Views

Autodesk Licensing Guide (.pdf) - Documentation & Online Help ...

Autodesk Licensing Guide (.pdf) - Documentation & Online Help ...

Autodesk Licensing Guide (.pdf) - Documentation & Online Help ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

#!/bin/sh<br />

./etc/rc.common<br />

StartService() {<br />

ConsoleMessage “Starting <strong>Autodesk</strong> Network License<br />

Manager”<br />

/Users//NLM/lmgrd -c\<br />

/Users//NLM/productlicense.lic -l\<br />

/Users//NLM/debug.log<br />

}<br />

StopService() {<br />

ConsoleMessage “Stopping <strong>Autodesk</strong> Network License<br />

Manager”<br />

/Users//NLM/lmutil lmdown -q -all -force<br />

}<br />

RestartService() {<br />

ConsoleMessage “Restarting <strong>Autodesk</strong> Network License<br />

Manager”<br />

/Users//NLM/lmutil lmreread -c /Users//NLM/productlicense.lic<br />

}<br />

RunService “$1”<br />

6 Grant the executable permission to the script by entering the following<br />

in Terminal:<br />

chmod +x adsknlm<br />

7 Create a property list file named StartupParameters.plist and add it to the<br />

directory by entering the following in Terminal:<br />

{<br />

Description =”<strong>Autodesk</strong> Network License Manager”;<br />

Provides =(“adsknlm”)OrderPreference =”None”;<br />

Messages={start=<br />

“Starting <strong>Autodesk</strong> Network Manager Service”;<br />

stop=<br />

“Stopping <strong>Autodesk</strong> Network Manager Service”;<br />

};}{<br />

8 Move the startup item directory to /Library/StartupItems/ and modify your<br />

directory permission by entering the following in Terminal:<br />

Network <strong>Licensing</strong> | 37

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!