Remove deprecated use of modprobe -l. If we need this functionaltiy back, we need to use something else, like say find.

This commit is contained in:
Roy Marples 2008-11-04 17:08:35 +00:00
parent a178fd0f32
commit 90d175ae27

View File

@ -60,11 +60,4 @@ start()
eend $? "Failed to load ${x}" && cnt=$((${cnt} + 1))
done
einfo "Autoloaded ${cnt} module(s)"
# Just in case a sysadmin prefers generic symbolic links in
# /lib/modules/boot for boot time modules we will load these modules
[ -n "$(modprobe -l -t boot)" ] && modprobe -a -t boot \* 2>/dev/null
# Above test clobbers the return
return 0
}