Is there a way to detect kernel version in /etc/rc.conf. I am attempting something like the following:
if uname -v | grep XEN3_DOM0 > /dev/null
but both uname and grep are missing when /etc/rc.conf is processed. I can presumable use /rescue/grep instead of grep but I cannot find an alternative for uname. Any suggestions?