This should not be necessary as the packages installing modules should
be responsible for updating the dependencies.

Furthermore, as modules can be loaded very early in boot, but depmod can
only be called after root is mounted rw, we can not rely on depmod
fixing broken module dependencies.

Signed-off-by: Tom Gundersen <[email protected]>
---
 rc.sysinit |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index 1331587..8ab9b58 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -339,8 +339,6 @@ if [[ $NISDOMAINNAME ]]; then
        status "Setting NIS Domain Name: $NISDOMAINNAME" /bin/nisdomainname 
"$NISDOMAINNAME"
 fi
 
-status "Updating Module Dependencies" /sbin/depmod -A
-
 [[ $LOCALE ]] || LOCALE="en_US"
 stat_busy "Setting Locale: $LOCALE"
 # Flush old locale settings
-- 
1.7.4.2

Reply via email to