Evaluation code for testing if pending reboot for Linux?

  • 18 August 2022
  • 0 replies

Userlevel 2

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?

0 replies

Be the first to reply!