Changeset 3279 in MondoRescue for branches/3.2/mindi/rootfs


Ignore:
Timestamp:
Apr 30, 2014, 1:05:17 PM (10 years ago)
Author:
Bruno Cornec
Message:
  • flaws_str should be NULL if no error detected not ""
  • Try to redirect back fd at restore time before launching mondorestore to avoid garbage in log
Location:
branches/3.2/mindi/rootfs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi/rootfs/etc/init.d/rcS

    r3278 r3279  
    877877# Creates log file
    878878LogIt ""
     879# Backup fd
     880exec 4>&2 5>&1
    879881# Redirect every message to the LOGFILE
    880882exec > >(tee -a ${LOGFILE})
  • branches/3.2/mindi/rootfs/usr/sbin/post-init

    r3271 r3279  
    44#
    55#------------------------------------------------------------
    6 
    7 
    8 sleep 1
    96
    107if [ -f "/tmp/mountlist.txt" ]; then
     
    7067fi
    7168
     69# Now suppress msg redirection to avoid poluting log file
     70exec 2>&4 >&5 4>&- 5>&-
     71
    7272if [ "$compare" ] ; then
    7373    LogIt "------------------COMPARE MODE-----------------" 1
  • branches/3.2/mindi/rootfs/usr/sbin/start-netfs

    r3278 r3279  
    117117    elif [ "$proto" = "smbfs" ]; then
    118118        LogIt "Mounting SMBFS share ($netfsmount) on /tmp/isodir..."
    119         mount -t cifs $netfsopt $netfsmount /tmp/isodir -o ro
     119        mount -t cifs $netfsmount /tmp/isodir -o ro $netfsopt
    120120    elif [ "$proto" != "" ]; then
    121121        if [ -x /sbin/rpcbind ]; then
Note: See TracChangeset for help on using the changeset viewer.