CVS: moonbase/utils/module-init-tools BUILD,1.5,1.6

Veerappan watryac04 at lunar-linux.org
Sat Sep 20 02:55:47 GMT 2003


Update of /var/cvs/lunar/moonbase/utils/module-init-tools
In directory dbguin.lunar-linux.org:/tmp/cvs-serv28516

Modified Files:
	BUILD 
Log Message:
Fixed the problem with moving certain files in /sbin from $file to $file.old
Module compiles fine, installs all of its files, and looks good.
/sbin/*mod*.old should only be backup copies of files installed by modutils


Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/utils/module-init-tools/BUILD,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- BUILD	20 Sep 2003 02:22:11 -0000	1.5
+++ BUILD	20 Sep 2003 02:55:44 -0000	1.6
@@ -13,8 +13,7 @@
 	for file in /sbin/insmod /sbin/lsmod /sbin/depmod \
 		    /sbin/modinfo /sbin/modprobe /sbin/rmmod
 	do
-	    test -e $file && mv $file ${file}.old
-	    echo "attempting to move " $file " to " $file.old
+	    mv $file $file.old && echo "just moved " $file " to " $file.old
 	done     
     fi					&&
 




More information about the Lunar-commits mailing list