summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-04 17:08:35 +0000
committerRoy Marples <roy@marples.name>2008-11-04 17:08:35 +0000
commit90d175ae278c9b27fec954abacbb5ddbb8c5fcc7 (patch)
tree985e72938013c8e8698f8238c40d18e21861172c
parenta178fd0f32f61ba95a7e9abe49db836381665600 (diff)
downloadopenrc-90d175ae278c9b27fec954abacbb5ddbb8c5fcc7.tar.gz
openrc-90d175ae278c9b27fec954abacbb5ddbb8c5fcc7.tar.bz2
openrc-90d175ae278c9b27fec954abacbb5ddbb8c5fcc7.tar.xz
Remove deprecated use of modprobe -l. If we need this functionaltiy back, we need to use something else, like say find.
-rw-r--r--init.d/modules.in7
1 files changed, 0 insertions, 7 deletions
diff --git a/init.d/modules.in b/init.d/modules.in
index 06b5f17..c12f7c1 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
}