restartcheck: verify NILRT kernel modules
restartcheck: verify NILRT kernel modules

NI's modules are special in the sense that once they're inserted in
a kernel they can't be removed so a reboot is required when upgrading
or uninstalling them. Some even ask for reboots when installing for
the first time.

NI kernel modules being a given source of reboots, we have to make
restartcheck aware of them by checking a md5sum of modules.dep and
its timestamp (modules.dep is modified/touched by all modules).

The timestamp is checked because on a module upgrade, the modules.dep
contents will be the same (identical md5 hashes).

Signed-off-by: Ioan-Adrian Ratiu <7ec73abcfe099fc5574c01312b62768070c80980@ni.com>

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt