diff options
-rwxr-xr-x | bin/aradial-sftp_and_import | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/aradial-sftp_and_import b/bin/aradial-sftp_and_import index e6af710b9..13067123f 100755 --- a/bin/aradial-sftp_and_import +++ b/bin/aradial-sftp_and_import @@ -6,6 +6,7 @@ use strict; use Getopt::Std; use Text::CSV_XS; use DBI; +use Net::SFTP::Foreign; #use FS::UID qw( adminsuidsetup datasrc ); our %aradial2db = ( @@ -44,7 +45,7 @@ my $user = shift or die &usage; # %%%FREESIDE_CACHE%%% & hardcoded datasrc #my $cachedir = '%%%FREESIDE_CACHE%%%/cache.'. datasrc. '/cdrs'; -my $cachedir = '%%%FREESIDE_CACHE%%%/cache.DBI:Pg:dbname=freeside/cdrs'; +my $cachedir = '/usr/local/etc/freeside/cache.DBI:Pg:dbname=freeside/cdrs'; mkdir $cachedir unless -d $cachedir; my $servername = shift or die &usage; |