Ignore:
Timestamp:
May 5, 2013, 4:55:42 AM (6 years ago)
Author:
bruno
Message:
  • revert patch 3106-2107 from SVK which had removed good code and fixes !!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/mondo/src/common/libmondo-cli.c

    r3107 r3111  
    536536                if (strstr(bkpinfo->netfs_proto, "sshfs")) {
    537537                    sprintf(tmp, "sshfs %s@%s", bkpinfo->netfs_user, bkpinfo->netfs_mount);
     538                } else if (strstr(bkpinfo->netfs_proto, "smbfs")) {
     539                    sprintf(tmp, "mount -t cifs %s -o user=%s", bkpinfo->netfs_mount, bkpinfo->netfs_user);
    538540                } else if (strstr(bkpinfo->netfs_proto, "nfs")) {
    539541                    sprintf(tmp, "mount %s@%s", bkpinfo->netfs_user, bkpinfo->netfs_mount);
     
    545547                if (strstr(bkpinfo->netfs_proto, "sshfs")) {
    546548                    sprintf(tmp, "sshfs %s", bkpinfo->netfs_mount);
     549                } else if (strstr(bkpinfo->netfs_proto, "smbfs")) {
     550                    sprintf(tmp, "mount -t cifs %s", bkpinfo->netfs_mount);
    547551                } else if (strstr(bkpinfo->netfs_proto, "nfs")) {
    548552                    sprintf(tmp, "mount %s", bkpinfo->netfs_mount);
Note: See TracChangeset for help on using the changeset viewer.