Ignore:
Timestamp:
Sep 26, 2006, 9:47:32 AM (18 years ago)
Author:
Bruno Cornec
Message:

merge -r814:838 $SVN_M/branches/stable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mondo/src/restore-scripts/mondo/stabgrub-me

    r588 r839  
    3434    old_fstab=/mnt/RESTORING/etc/fstab
    3535    old_grubconf=/mnt/RESTORING/etc/grub.conf
     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 because
     38    # we run this outside the chroot.
     39    if [ -L "$old_grubconf" ] ; then
     40        old_grubconf=/mnt/RESTORING`readlink "$old_grubconf"`
     41    fi 
    3642    return 0
    3743    elif [ -f "/mnt/cdrom/archives/CUCKOO" ] ; then
Note: See TracChangeset for help on using the changeset viewer.