Einrückungen Korrigiert

Signed-off-by: Jan-Tarek Butt <buttjantarek@googlemail.com>
This commit is contained in:
Jan-Tarek Butt 2013-10-30 00:20:39 +01:00 committed by Clemens John
parent 8468b4c130
commit f6fe4f81c5
1 changed files with 54 additions and 54 deletions

View File

@ -62,16 +62,16 @@ if ping -w5 -c3 "$test_internet_host1" &>/dev/null ||
fi
pubkey=$(fastd -c /etc/fastd/$project/$project.conf --show-key --machine-readable)
#port=666
# port=666
# fire up
# fire up
if [ "$(/sbin/ifconfig -a | grep -i ethernet | grep $project)" == "" ]; then
/bin/rm /var/run/fastd.$project.pid
fastd -c /etc/fastd/$project/$project.conf -d --pid-file /var/run/fastd.$project.pid
fi
# register
# register
wget -T15 "http://mastersword.de/~reddog/${project}/?mac=$mac&name=$hostname&port=$port&key=$pubkey" -O /tmp/fastd_${project}_output
filenames=$(awk '/^####/ { gsub(/^####/, "", $0); gsub(/.conf/, "", $0); print $0; }' /tmp/fastd_${project}_output)