Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9674
Modified Files:
mount_cdrom
Log Message:
remote update was borken
Index: mount_cdrom
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/mount_cdrom,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- mount_cdrom 23 Jan 2005 20:17:29 -0000 1.29
+++ mount_cdrom 22 Apr 2005 19:19:54 -0000 1.30
@@ -91,8 +91,14 @@
sync
umount /cdrom &> /dev/null
umount /mnt &> /dev/null
- $RED
- else
+ $GREEN
+ echo "Mounting old version"
+ $NORMAL
+ mount -o loop -t iso9660 /mnt/bootcd.iso.old $1 || return 1
+ echo $disk > /shm/DL_DEVICE
+ dl_version=`cat /mnt/DEVIL-LINUX` 2> /dev/null
+ exit 0
+ else
echo "Activation failed"
fi
# make sure the changes are written immediately
|