run.sh 204 B

12345
  1. #!/bin/sh
  2. sed -i -e "s/{{USERNAME}}/$USERNAME/;s/{{TEAM}}/$TEAM/;s/{{POWER}}/$POWER/;s/{{PASSKEY}}/$PASSKEY/" /etc/fahclient/config.xml
  3. /etc/init.d/FAHClient start && tail -F /var/lib/fahclient/log.txt