
#!/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
Manager”
/Users/<user id>/NLM/lmutil lmdown -q -all -force
}
RestartService() {
ConsoleMessage “Restarting Autodesk Network License
Manager”
/Users/<user id>/NLM/lmutil lmreread -c /Users/<user
id>/NLM/productlicense.lic
}
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 | 103
Содержание AutoCAD Design Suite 2013
Страница 1: ...AutoCAD Design Suite 2013 Installation Guide ...
Страница 6: ...vi ...
Страница 44: ...38 ...
Страница 76: ...70 ...