Skip to main content
Question

Evaluation code for testing if pending reboot for Linux?

  • August 18, 2022
  • 0 replies
  • 90 views

jbh
Forum|alt.badge.img

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?