Specifications
#!/bin/sh
./etc/rc.common
StartService()
{
ConsoleMessage
“Starting Autodesk Network License Manager”
/Users/<user id>/NLM/lmgrd -c\
/Users/<user id>/NLM/productlicense.lic -l\
/Users/<user id>/NLM/debug.log
}
StopService()
{
ConsoleMessage
“Stopping Autodesk Network License Manger”
/Users/<user id>/NLM/lmutil lmdown -q -all -force
}
RestartService()
{
ConsoleMessage
“Restarting Autodesk Network License Manger”
/Users/<user id>/NLM/lmutil lmreread
}
RunService “$1”
6 Grant the executable permission to the script by entering the following
in Terminal:
chmod +x adsknlm
7 Create a property list file named StartupParameters.plist and add it to the
directory by entering the following in Terminal:
{
Description =”Autodesk Network License Manager”;
Provides =(“adsknlm”)OrderPreference =”None”;
Messages={start=
“Starting Autodesk Network Manager Service”;
stop=
“Stopping Autodesk Network Manager Service”;
};}{
8 Move the startup item directory to /Library/StartupItems/ and modify your
directory permission by entering the following in Terminal:
Network Licensing | 35