Whamcloud - gitweb
Revert unintended commit to build/updatecw.sh
[fs/lustre-release.git] / lustre / utils / module_setup.sh
index 5727b4d..9f9792f 100755 (executable)
@@ -1,23 +1,15 @@
-#!/bin/sh
+#!/bin/bash
 
 MDIR=/lib/modules/`uname -r`/lustre
 /bin/rm -rf $MDIR
 mkdir -p $MDIR
 
-KVER=26
 EXT=ko
-FSFLT=fsfilt_ldiskfs
 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