Old uncommited changes, restock from cli, "cleanup bounty" feature

This commit is contained in:
Mrkva 2015-07-01 01:06:59 +02:00
parent 84881dece3
commit 934873c2fc
6 changed files with 51 additions and 2 deletions

6
brmbar3/uklid-refill.sh Normal file
View file

@ -0,0 +1,6 @@
#!/bin/bash
if [ `./brmbar-cli.py iteminfo uklid|grep -o '[0-9]*.[0-9]* pcs'|cut -d '.' -f 1` -eq 0 ]; then
BOUNTY=`./brmbar-cli.py restock uklid 1 | grep -o 'take -[0-9]*'|grep -o '[0-9]*'`
echo "Brmlab cleanup bounty for ${BOUNTY}CZK!!!"|ssh jenda@fry.hrach.eu
fi