Rebooting Macs via Kace
Im trying to update Symantec to 12.1.6 on some Mac clients. Currently they have versions 12.1.1, 4, and 5. I created a managed install for the 12.1.6.pkg file using the default installation and it works fine. However, a reboot is required for Symantec to "turn on" Is there a command to get a Mac to reboot using Kace and would i have to have a command to install since i would be using the override default installation?
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
chucksteel
8 years ago
Top Answer
shutdown -r now
For more information see the man page:
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/shutdown.8.html
If you are using a managed install then you will have to wrap the Symantec installer in a script that will install the package and then run the restart command.
installer -pkg 12.1.6.pkg -target /
shutdown -r now
Comments:
-
thank you for the help, im trying to run the command in terminal for testing and run the installer as well as restart...my command line, is installer -pkg osx-12-mp2.pkg -target /shutdown -r now.....but i get the error installer: invalid option -r...what am i doing wrong? - rpsolis 8 years ago
-
Those are two separate commands. The first is the installer command and the second is the restart command. They aren't meant to be on the same line. - chucksteel 8 years ago
-
oh ok, thanks! - rpsolis 8 years ago
Posted by:
anonymous_9363
8 years ago
So your 'Subject' line should *actually* read "Rebooting Macs via Kace", then.
Comments:
-
per suggestion question title edited - Pressanykey 8 years ago