Changeset 1339 in MondoRescue for branches/stable/mindi/rootfs/sbin/LogIt


Ignore:
Timestamp:
Apr 25, 2007, 12:23:24 AM (17 years ago)
Author:
Bruno Cornec
Message:

Logfiles correct now in this branch for scripts in mindi

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/mindi/rootfs/sbin/LogIt

    r746 r1339  
    1111currdate=""
    1212
    13 LOGFILE=/tmp/mondo-restore.log
     13if [ _"$LOGFILE" = _"" ]; then
     14    echo "LOGFILE was undefined. Using /tmp/mondorestore2.log"
     15    LOGFILE="/tmp/mondorestore2.log"
     16fi
     17
    1418if [ ! -e "$LOGFILE" ] ; then
    1519    echo "...first line..." > $LOGFILE
Note: See TracChangeset for help on using the changeset viewer.