# Distributed under the GPL v2
# $Id$
+ 31 May 2011; Nelson Batalha <nelson.batalha@gmail.com> defaults/initrd.defaults:
+ Add Kernel 3.0.0 support (bug #369481)
+
31 May 2011; Sebastian Pipping <sping@gentoo.org> genkernel:
Output warning in warning color
KVER="${KMAJOR}.${KMINOR}"
MISCOPTS='debug detect'
-if [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -ge '6' ]
+if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -eq '6' ]
then
KV_2_6_OR_GREATER="yes"
fi
ROOT_LINKS='bin sbin lib lib32 lib64 boot usr opt emul'
ROOT_TREES='etc root home var'
INSMOD='insmod'
-if [ "${KMINOR}" -gt '4' ]
+if [ "${KMAJOR}" -ge 3 ] || [ "${KMAJOR}" -eq 2 -a "${KMINOR}" -gt '4' ]
then
KSUFF='.ko'
else