Whamcloud - gitweb
LU-119 Remove code added by a conflict resolution
authorBrian J. Murrell <brian@whamcloud.com>
Mon, 7 Mar 2011 17:47:05 +0000 (12:47 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 7 Mar 2011 20:42:23 +0000 (12:42 -0800)
I erroneously re-added some code that was removed in
62345145fa7cae1846f96078bac43ddf58cea640 while resolving
a conflict in LU-85's landing of commit
ab13b69b63ca19d7fe68b8ba6afd2cb4723db78c.

Signed-off-by: Brian J. Murrell <brian@whamcloud.com>
Change-Id: Id2489a3aa5560cdf4e7cf4755ddc16437558a2fc
Reviewed-on: http://review.whamcloud.com/304
Tested-by: Hudson
Reviewed-by: Christopher J. Morrone <morrone2@llnl.gov>
Reviewed-by: Robert Read <rread@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre.spec.in

index ab88d85..d574bcd 100644 (file)
@@ -302,28 +302,6 @@ if [ -x /sbin/weak-modules ]; then
         /sbin/weak-modules --add-modules
 fi
 
         /sbin/weak-modules --add-modules
 fi
 
-# for update from < v1.4.6
-
-for f in /etc/modules.conf /etc/modprobe.conf /etc/modprobe.conf.local ; 
-do
-       if [ -f $f ]; then
-               if grep 'lustre llite' $f >/dev/null 2>/dev/null ; then
-                       [ ! -f $f.rpmsave ] && cp $f $f.rpmsave
-                       TMPFILE=`mktemp $f.XXXXXX` && \
-                       rm -f $TMPFILE && touch $TMPFILE && \
-                       grep -v 'lustre llite' $f >> $TMPFILE && \
-                       mv $TMPFILE $f
-               fi
-               if egrep "^[^#]*(add below|install) ptlrpc" $f ; then
-                       [ ! -f $f.rpmsave ] && cp $f $f.rpmsave
-                       TMPFILE=`mktemp $f.XXXXXX` && \
-                       rm -f $TMPFILE && touch $TMPFILE && \
-                       sed -e "s/^[^#]*\(add below\|install\) ptlrpc.*/#&/" $f >> $TMPFILE && \
-                       mv $TMPFILE $f
-               fi
-       fi
-done
-
 # If the kernel was built to reject unsupported modules (e.g. not a Lustre
 # kernel), and this hasn't been overridden in /etc/modprobe.d yet, then
 # print a warning so that users are aware of this issue.
 # If the kernel was built to reject unsupported modules (e.g. not a Lustre
 # kernel), and this hasn't been overridden in /etc/modprobe.d yet, then
 # print a warning so that users are aware of this issue.