diff options
Diffstat (limited to 'rc.d/rc.sysinit')
-rwxr-xr-x | rc.d/rc.sysinit | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 844bb09f..c07d43ae 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -135,9 +135,13 @@ fi if [ -x /sbin/depmod -a -n "$USEMODULES" ]; then # Get ready for kerneld if module support in the kernel - echo -n "Finding module dependencies" - depmod -a - echo "" + echo -n "Finding module dependencies... " + if [ -f /lib/modules/preferred ]; then + depmod -a preferred + else + depmod -a preferred + fi + echo "done" fi # load sound modules |