Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert unintended commit to build/updatecw.sh
[fs/lustre-release.git]
/
lustre
/
utils
/
module_setup.sh
diff --git
a/lustre/utils/module_setup.sh
b/lustre/utils/module_setup.sh
index
5727b4d
..
9f9792f
100755
(executable)
--- a/
lustre/utils/module_setup.sh
+++ b/
lustre/utils/module_setup.sh
@@
-1,23
+1,15
@@
-#!/bin/sh
+#!/bin/
ba
sh
MDIR=/lib/modules/`uname -r`/lustre
/bin/rm -rf $MDIR
mkdir -p $MDIR
MDIR=/lib/modules/`uname -r`/lustre
/bin/rm -rf $MDIR
mkdir -p $MDIR
-KVER=26
EXT=ko
EXT=ko
-FSFLT=fsfilt_ldiskfs
if [ -d /etc/modprobe.d ]; then
MODFILE="/etc/modprobe.d/Lustre"
else
MODFILE="/etc/modprobe.conf"
fi
if [ -d /etc/modprobe.d ]; then
MODFILE="/etc/modprobe.d/Lustre"
else
MODFILE="/etc/modprobe.conf"
fi
-if [ `uname -r | cut -c 3` -eq 4 ]; then
- KVER=24
- EXT=o
- FSFLT=fsfilt_ext3
- MODFILE="/etc/modules.conf"
-fi
echo "Copying modules from local build dir to "$MDIR
echo "Copying modules from local build dir to "$MDIR