Evaluation code for testing if pending reboot for Linux?
jbh
August 18, 2022 at 6:35 pm UTC
#reboot#worklet#linux
I’d like a worklet/policy that checks against several flavors of Linux to see if the system requires a reboot (it may be Ubuntu, RedHat, CentOS, etc) and then runs the remediation code if it does require the reboot.
I understand it’s different for each flavor of Linux, but Automox appears to use such code in determining whether a Linux system requires are reboot in the Automox UI.
What should be the evaluation code to use for this worklet?
This discussion is archived and closed to replies. Continue it in the Automox Community Slack.
Discuss on Slack