Autodesk STAND-ALONE LICENSING Dokumentacja Strona 41

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 96
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 40
#!/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
Przeglądanie stron 40
1 2 ... 36 37 38 39 40 41 42 43 44 45 46 ... 95 96

Komentarze do niniejszej Instrukcji

Brak uwag