5 # Check that the running userland and kernel versions are in sync.
7 # If there is a global system configuration file, suck it in.
9 if [ -r /etc/defaults/periodic.conf ]
11 . /etc/defaults/periodic.conf
15 case "$daily_status_world_kernel" in
18 _U=$(/usr/bin/uname -U 2>/dev/null)
19 _K=$(/usr/bin/uname -K 2>/dev/null)
20 [ -z "${_U}" -o -z "${_K}" ] && exit 0
22 echo "Checking userland and kernel versions:"
23 if [ "${_U}" != "${_K}" ]; then
24 echo "Userland and kernel are not in sync"
25 echo "Userland version: ${_U}"
26 echo "Kernel version: ${_K}"
29 echo "Userland and kernel are in sync."