summaryrefslogtreecommitdiffstats
path: root/client/nfsexport
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2010-06-08 10:39:25 +0000
committerramon <ramongomez@us.es>2010-06-08 10:39:25 +0000
commit4c475a3250e4b2c8ba0c76e2c110bdb62c658461 (patch)
tree44275dd132a925ab7d0accd21610c7f779869fce /client/nfsexport
parentc1685906bafce2ef6bbef5e7302872d8015c1372 (diff)
Solución ticket:169 - cargar módulos de discos en arranque del cliente.
git-svn-id: https://opengnsys.es/svn/trunk@1017 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/nfsexport')
-rwxr-xr-xclient/nfsexport/etc/preinit/loadmodules.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/client/nfsexport/etc/preinit/loadmodules.sh b/client/nfsexport/etc/preinit/loadmodules.sh
index a636f41d..974ddded 100755
--- a/client/nfsexport/etc/preinit/loadmodules.sh
+++ b/client/nfsexport/etc/preinit/loadmodules.sh
@@ -16,8 +16,12 @@ MODULESDIR=/lib/modules/$(uname -r)/kernel
# Módulo del ratón.
insmod $MODULESDIR/drivers/input/mouse/psmouse.ko 2>/dev/null
-# Módules de sistemas de archivos.
-for m in reiserfs jfs xfs hfs hfsplus; do
- insmod $MODULESDIR/fs/$m/$m.ko 2>/dev/null
+# Módulos de discos.
+for m in $MODULESDIR/drivers/ata/*.ko; do
+ insmod $m 2>/dev/null
+done
+# Módulos de sistemas de archivos.
+for f in reiserfs jfs xfs hfs hfsplus; do
+ insmod $MODULESDIR/fs/$f/$f.ko 2>/dev/null
done