Changeset 2734


Ignore:
Timestamp:
Feb 26, 2011, 8:55:00 PM (8 years ago)
Author:
bruno
Message:
  • Fix 2 redirections issues
Location:
branches/2.2.9/mindi/rootfs/sbin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/rootfs/sbin/find-and-mount-cdrom

    r1983 r2734  
    7676fi
    7777[ "$1" = "--second-try" ] && exit 1;
    78 if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg 2 > /dev/null`" ] ; then
     78if [ "`grep "using-cdstream yes" /tmp/mondo-restore.cfg 2> /dev/null`" ] ; then
    7979    LogIt "Because you are using cdstream, I won't try to mount CD."
    8080    exit 0
  • branches/2.2.9/mindi/rootfs/sbin/hack-cfg-if-necessary

    r1983 r2734  
    1616LogIt "OK, we've found /mnt/cdrom/archives/*; great."
    1717
    18 if ! grep "backup-media-type iso" /tmp/mondo-restore.cfg 2 > /dev/null ; then
     18if ! grep "backup-media-type iso" /tmp/mondo-restore.cfg 2> /dev/null ; then
    1919    LogIt "Config file is fine, BTW."
    2020    exit 0
Note: See TracChangeset for help on using the changeset viewer.