diff options
author | Judd Vinet <judd@archlinux.org> | 2004-09-28 06:24:03 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2004-09-28 06:24:03 +0000 |
commit | 2822ea48f2e7609232d4e4b47285d60097de2828 (patch) | |
tree | 53cc8ee3b5f66e8ca8c440a9caf7b258d2c32728 | |
parent | 85c899a1ca88c088aaeb679dc009687670e30ac7 (diff) |
used depmod -A in rc.sysinit to update module deps
-rwxr-xr-x | rc.sysinit | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -123,15 +123,7 @@ if [ "$HOSTNAME" != "" ]; then status "Setting Hostname: $HOSTNAME" /bin/hostname $HOSTNAME fi -kernel_version=`uname -r` -if [ -e "/lib/modules/$kernel_version/modules.dep" ]; then - new_mods=`/usr/bin/find /lib/modules/$kernel_version -type f -newer /lib/modules/$kernel_version/modules.dep` - if [ ! -z "$new_mods" ]; then - status "Updating Module Dependencies" /sbin/depmod -a - fi -else - status "Updating Module Dependencies" /sbin/depmod -a -fi +status "Updating Module Dependencies" /sbin/depmod -A if [ -f /var/run/random-seed ]; then stat_busy "Initializing Random Seed" |