malekith: bootdisk rc,1.26,1.27

Michał Moskal malekith w pld-linux.org
Czw, 21 Mar 2002, 16:57:20 CET


Module name:    bootdisk
Changes by:     malekith

Changed RCS file: /cvsroot/bootdisk/scripts/rc,v
----------------------------
revision 1.27
date: 2002/03/21 15:57:17;  author: malekith;  state: Exp;  lines: +4 -2
- what did this "sd" here?
- load ext2.o if found
 

Index: rc
===================================================================
RCS file: /cvsroot/bootdisk/scripts/rc,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- rc	8 Feb 2002 17:36:34 -0000	1.26
+++ rc	21 Mar 2002 15:57:17 -0000	1.27
@@ -19,8 +19,6 @@
   done
 }
 
-sd
-
 links_in_dev () {
   echo -n "Making compatibilty links in /dev... "
   for f in 0 1 2 3 4 5 6 7 8 9 10 11 12 ; do
@@ -51,6 +49,10 @@
   umount /oldroot
   freeramdisk /dev/rd/0
   links_in_dev
+  if test -f /lib/modules/`uname -r`/ext2.o ; then
+    insmod /lib/modules/`uname -r`/ext2.o
+    rm -f /lib/modules/`uname -r`/ext2.o
+  fi
 else
   mount proc /proc -t proc
   mount devpts /dev/pts -t devpts



Więcej informacji o liście dyskusyjnej pld-installer