Remove check for >=2.6 for mounting sysfs

cleanup-cruft
agaffney 17 years ago
parent a8d7c7d7d0
commit d1cac89e98

@ -2,6 +2,9 @@
# 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'

@ -202,12 +202,9 @@ cache_cd_contents() {
}
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() {

Loading…
Cancel
Save