Changeset 2878 in MondoRescue for branches/2.2.9/mindi/rootfs
- Timestamp:
- Oct 5, 2011, 1:20:58 AM (13 years ago)
- Location:
- branches/2.2.9/mindi/rootfs/sbin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi/rootfs/sbin/find-and-mount-cdrom
r2734 r2878 34 34 fi 35 35 LogIt "$device has a CD-ROM in it" 36 umount /mnt/cdrom36 umount -d /mnt/cdrom 37 37 ln -sf $device /dev/cdrom 38 38 if [ "$?" -ne "0" ]; then -
branches/2.2.9/mindi/rootfs/sbin/init
r2846 r2878 825 825 ConfigureLoggingDaemons 826 826 if [ -e "/tmp/USE-DEVFS" ] ; then 827 umount /mnt/cdrom 2> /dev/null827 umount -d /mnt/cdrom 2> /dev/null 828 828 mv /dev/cdrom /cdrom.lnk 2> /dev/null 829 829 CD_MOUNTED_OK="" … … 963 963 else 964 964 echo -en "Type 'exit' to reboot the PC\n" 965 umount /mnt/cdrom 2> /dev/null965 umount -d /mnt/cdrom 2> /dev/null 966 966 mount / -o rw,remount > /dev/null 2> /dev/null 967 967 LogIt "Launching Shell" -
branches/2.2.9/mindi/rootfs/sbin/install-additional-tools
r2371 r2878 58 58 cd $old_pwd 59 59 echo -e -n "\r" 60 [ ! -e "/tmp/CDROM-LIVES-HERE" ] && umount $mountpoint60 [ ! -e "/tmp/CDROM-LIVES-HERE" ] && umount -d $mountpoint 61 61 sleep 1 62 62 fi
Note:
See TracChangeset
for help on using the changeset viewer.