Dan D Niles writes: > Les Mikesell writes: > > > > I haven't peeked at the code, but I'd guess that it is checking > > that the programs exist so it can give a reasonable error message > > at startup time instead of waiting until some backup run needs > > it (remember that you can override $Conf{XferMethod} in a per-pc > > config file while inheriting $Conf{SmbClientPath} from the main > > file). You can either change the $Conf{SmbClientPath} entry to > > something like /bin/false or make a dummy executable file for > > /usr/bin/smbclient. > > It is only checking it because the main config.pl line (by default) > has: > > $Conf{XferMethod} = 'smb'; > > Change this to 'rsync' and it will stop chekcing for it. Better yet, > comment the line out in the main config.pl so that it must be defined > in the per host config.pl.
Actually, Les is right: BackupPC checks most of the executable paths in config.pl when it first starts to avoid errors later. So if smbclient doesn't exist, the correct fix is to set: $Conf{SmbClientPath} = undef; Craig ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/