# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni
# Distributed under the GPL v2
+ 29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
+ Remove check for >=2.6 for mounting sysfs
+
29 Jul 2008; Andrew Gaffney <agaffney@gentoo.org> genkernel:
Remove check for >=2.6 for 'make prepare'
}
mount_sysfs() {
- if [ "${KV_2_6_OR_GREATER}" ]
- then
- mount -t sysfs /sys /sys >/dev/null 2>&1
- ret=$?
- [ "$ret" -eq '0' ] || bad_msg "Failed to mount /sys!"
- fi
+ mount -t sysfs /sys /sys >/dev/null 2>&1
+ ret=$?
+ [ "$ret" -eq '0' ] || bad_msg "Failed to mount /sys!"
}
findnfsmount() {