Merge branch 'cc-5709-airtime-analyzer' of github.com:sourcefabric/Airtime into cc-5709-airtime-analyzer

This commit is contained in:
Albert Santoni 2014-04-16 11:11:24 -04:00
commit 4d1843ca1f
11 changed files with 133 additions and 12 deletions

View file

@ -26,7 +26,7 @@ post_file() {
#path to specific instance's airtime.conf
instance_conf_path=$base_instance_path$instance_path$airtime_conf_path
api_key=$(sudo awk -F "=" '/api_key/ {print $2}' $instance_conf_path)
api_key=$(awk -F "= " '/api_key/ {print $2}' $instance_conf_path)
until curl --max-time 30 $url -u $api_key":" -X POST -F "file=@${file_path}" -F "name=${filename}"
do