mrdkoid brzda.sh
#!/bin/sh
PAY="/root/payment"
if [ -f $PAY ] && [ "$(cat $PAY)" == "ok" ]
then
wondershaper eth0 300 1800
elif [ -f $PAY ] && [ "$(cat $PAY)" != "ok" ]
then
wondershaper eth0 256 256
else
echo "Soubor payment neexistuje ..."
fi
Parsed in 0.003 seconds