Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11510/config/etc/initrd
Modified Files:
Tag: rel-1-2-patches
mount_cdrom
Log Message:
the echo operations after replacing the iso fail for some reason, so let's
just not echo anything for now ;-)
Index: mount_cdrom
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v
retrieving revision 1.25.2.5
retrieving revision 1.25.2.6
diff -u -d -r1.25.2.5 -r1.25.2.6
--- mount_cdrom 29 Apr 2005 00:15:45 -0000 1.25.2.5
+++ mount_cdrom 15 Jun 2005 13:44:50 -0000 1.25.2.6
@@ -97,17 +97,18 @@
sync
umount /cdrom &> /dev/null
- $GREEN
- echo "Mounting old version"
- $NORMAL
+ # the echo operations fail, so let's just not echo anything for now
+ #$GREEN
+ #echo "Mounting old version"
+ #$NORMAL
mount -o loop -t iso9660 /mnt/bootcd.iso.old $1 || return 1
# check if the DL ISO got upgraded
cd /cdrom
#change to new root
pivot_root . initrd
- $RED
+ #$RED
echo "Rebooting..."
- $NORMAL
+ #$NORMAL
exec /bin/chroot . /sbin/reboot -f
else
echo "Activation failed"
|