restartcheck.py: Verify older NILRT kernels
restartcheck.py: Verify older NILRT kernels

Older NILRT distro versions don't use package management when
installing the kernel bzImage, nor symlinks to files containing the
version, so it's impossible to determine the version without using
ugly hacks like this "strings" one.

The need to maintain backwards compatibility complicates the matter
further because there's no easy way out: We need to wait until support
for older NILRT's is discontinued to avoid having both this hack and
the fixed older NILRT solution at the same time, besides the one
already working on newer distros..

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

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