Ignore:
Timestamp:
Apr 16, 2007, 4:13:59 PM (12 years ago)
Author:
bruno
Message:

Log files are now consistent: mondoarchive.log for mondoarchive (containing also mindi.log) and mondorestore.log for mondorestore (copied from /tmp (ram) to /var/log (disk) at the end of the restore)
One include has been created for each bianry containing only that declaration ofr the moment, but which will be extended to include all local definitions (ps_* e.g.)
Doc updated accordingly
LOGFILE in restore process is now passed in the environment and not duplicated anymore
LogIt? is not redifined either
LOGFILE should be put in environment by mondoarchive for mindi's usage but that's a step left for later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.2/mondo/src/restore-scripts/mondo/grub-MR

    r567 r1315  
    11#!/bin/sh
    2 
    3 
     2#
     3# $Id$
     4#
    45# grub-MR ------ a rudimentary replacement for grub-install
    56#
    67#
    7 #
    8 # 2005/11/25
    9 # - try_grub_hack : do not return success when grub wrote 'Error '
    10 #
    11 # 2004/06/28
    12 # - added support for /dev/md0==GRUB
    13 #
    14 # 2004/06/27
    15 # - re-enable the call to grub-install and the 'echo' thing as a backup
    16 # - hacked the hack :) to improve MDK9.2 support
    17 # - added try_grub_hack()
    18 #
    19 # 2004/06/14
    20 # - just use grub-install.patched; nothing else
    21 #
    22 # 2004/05/05
    23 # - try EVERYTHING - grub-install, grub --batch, etc.
    24 #
    25 # 2004/04/18
    26 # - try grub --batch < /etc/grub.conf first
    27 # - if it fails, grub-install.patched instead
    28 # - if _that_ fails, fail.
    29 #
    30 # 2004/04/15
    31 # - added grub-install.patched to the mix
    32 #
    33 # 2004/04/01
    34 # - use grub-install if there's an NTFS partition on the disk
    35 #
    36 # 2004/03/31
    37 # - disabled direct call to grub
    38 #
    39 # 2004/03/28
    40 # - call grub directly if possible
    41 #
    42 # 2004/03/26
    43 # - find stage 1 if possible; more stable, reliable call to grub
    44 #
    45 # 2003/08/24
    46 # - fixed line 26 (Christian)
    47 #
    48 # 2002/11/18
    49 # - first incarnation
    50 
    51 
    52 LOGFILE=/var/log/mondo-archive.log
    53 
    548
    559Die() {
Note: See TracChangeset for help on using the changeset viewer.