diff --git a/README.md b/README.md index 046ca0e..04fa563 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,12 @@ sipgate doesn't accept pdf files larger than 30 pages or 10MB. `balance.sh` just gives your account balance. +## Recommendation +Put +``` +alias fax="/your/path/to/this/project/fax.sh" +alias faxstatus="/your/path/to/this/project/status.sh" +alias faxbalance="/your/path/to/this/project/balance.sh" +``` +into your `.bash_rc` + diff --git a/status.sh b/status.sh index ccc774e..e5c7ae0 100755 --- a/status.sh +++ b/status.sh @@ -9,4 +9,4 @@ do DATE=$(echo $JSON | jq '.created' | sed -e 's:"::g' ) TARGET=$(echo $JSON | jq '.target' | sed -e 's:"::g' ) echo "Fax $LINE vom $(date +%d.%m.%Y -d $DATE) an $TARGET: $STATUS" -done < .fax_history +done < $BASEPATH/.fax_history