mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
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:
parent
51a4fe9432
commit
048abbc12d
2
inxi
2
inxi
|
@ -1404,7 +1404,7 @@ debug_data_collector()
|
||||||
if [[ $B_UPLOAD_DEBUG_DATA == 'true' ]];then
|
if [[ $B_UPLOAD_DEBUG_DATA == 'true' ]];then
|
||||||
if [[ $b_run_xiin == 'true' ]];then
|
if [[ $b_run_xiin == 'true' ]];then
|
||||||
echo 'Running automatic upload of data to remote server ftp.techpatterns.com/incoming now...'
|
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
|
if [[ $? -gt 0 ]];then
|
||||||
echo "Error: looks like the ftp upload failed. Error number: $?"
|
echo "Error: looks like the ftp upload failed. Error number: $?"
|
||||||
echo "The ftp upload failed. Error number: $?" >> $debug_data_dir/xiin-error.txt
|
echo "The ftp upload failed. Error number: $?" >> $debug_data_dir/xiin-error.txt
|
||||||
|
|
Loading…
Reference in a new issue