Removed xiin upload uname and password requirement from inxi. While they can be used, they are no longer required.

Some modularization to xiin.  Using classes.
This commit is contained in:
trash80.v2.0 2011-06-25 07:19:08 +00:00
parent 51a4fe9432
commit 048abbc12d

2
inxi
View file

@ -1404,7 +1404,7 @@ debug_data_collector()
if [[ $B_UPLOAD_DEBUG_DATA == 'true' ]];then
if [[ $b_run_xiin == 'true' ]];then
echo 'Running automatic upload of data to remote server ftp.techpatterns.com/incoming now...'
python ./$xiin_file -u $completed_gz_file ftp.techpatterns.com/incoming anon anon
python ./$xiin_file -u $completed_gz_file ftp.techpatterns.com/incoming
if [[ $? -gt 0 ]];then
echo "Error: looks like the ftp upload failed. Error number: $?"
echo "The ftp upload failed. Error number: $?" >> $debug_data_dir/xiin-error.txt