From 90d175ae278c9b27fec954abacbb5ddbb8c5fcc7 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Tue, 4 Nov 2008 17:08:35 +0000 Subject: Remove deprecated use of modprobe -l. If we need this functionaltiy back, we need to use something else, like say find. --- init.d/modules.in | 7 ------- 1 file changed, 7 deletions(-) diff --git a/init.d/modules.in b/init.d/modules.in index 06b5f179..c12f7c19 100644 --- a/init.d/modules.in +++ b/init.d/modules.in @@ -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 } -- cgit v1.2.3