Changeset 1001 in MondoRescue for branches/stable/mondo/src
- Timestamp:
- Dec 11, 2006, 12:10:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/restore-scripts/mondo/stabgrub-me
r827 r1001 32 32 LogIt "No need for fstab search." 2 33 33 # fstab_list=/mnt/RESTORING/etc/fstab 34 old_fstab=/mnt/RESTORING/etc/fstab35 old_grubconf=/mnt/RESTORING/etc/grub.conf34 old_fstab=/mnt/RESTORING/etc/fstab 35 old_grubconf=/mnt/RESTORING/etc/grub.conf 36 36 # For some distros, e.g. Debian, /etc/grub.conf is a symbolic link 37 # which we need to resolve and prepend with /mnt/RESTORING because38 # we run this outside the chroot.39 if [ -L "$old_grubconf" ] ; then40 old_grubconf=/mnt/RESTORING`readlink "$old_grubconf"`41 fi42 return 037 # which we need to resolve and prepend with /mnt/RESTORING because 38 # we run this outside the chroot. 39 if [ -L "$old_grubconf" ] ; then 40 old_grubconf=/mnt/RESTORING/etc/`readlink "$old_grubconf"` 41 fi 42 return 0 43 43 elif [ -f "/mnt/cdrom/archives/CUCKOO" ] ; then 44 44 LogIt "Because I'm cuckoo, I'll stop searching." 2
Note:
See TracChangeset
for help on using the changeset viewer.