Ignore:
Timestamp:
May 5, 2013, 4:23:30 AM (11 years ago)
Author:
Bruno Cornec
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/mondorestore/mondorestore.c

    r3098 r3107  
    31343134                            bkpinfo->netfs_mount);
    31353135                    }
    3136                 } else  {
    3137                     if (strstr(bkpinfo->netfs_proto, "smbfs")) {
    3138                         if (bkpinfo->netfs_user) {
    3139                             sprintf(tmp, "mount -t cifs %s /tmp/isodir -o user=%s,nolock,ro ",
    3140                                 bkpinfo->netfs_mount,bkpinfo->netfs_user);
    3141                         } else {
    3142                             sprintf(tmp, "mount -t cifs %s /tmp/isodir -o nolock,ro ",
    3143                                 bkpinfo->netfs_mount);
    3144                         }
     3136                } else {
     3137                    if (bkpinfo->netfs_user) {
     3138                        sprintf(tmp, "mount %s@%s -o nolock,ro /tmp/isodir",
     3139                            bkpinfo->netfs_user,bkpinfo->netfs_mount);
    31453140                    } else {
    3146                         if (bkpinfo->netfs_user) {
    3147                             sprintf(tmp, "mount %s@%s -o nolock,ro /tmp/isodir",
    3148                                 bkpinfo->netfs_user,bkpinfo->netfs_mount);
    3149                         } else {
    3150                             sprintf(tmp, "mount %s -o nolock,ro /tmp/isodir",
    3151                                 bkpinfo->netfs_mount);
    3152                         }
     3141                        sprintf(tmp, "mount %s -o nolock,ro /tmp/isodir",
     3142                            bkpinfo->netfs_mount);
    31533143                    }
    31543144                }
Note: See TracChangeset for help on using the changeset viewer.