98448dce44
Added the bashate script style checker to the pep8 check target in tox.ini. It actually found two valid issues - a bad function declaration and a local variable issue, but mostly just indentation noise. Fixed all the complaints. Change-Id: I43b60e7dcf53acf259c8a52b248fbb8c63d3c8d4
7 lines
153 B
Bash
Executable File
7 lines
153 B
Bash
Executable File
#!/bin/sh -v
|
|
Body=$(hostname)
|
|
Response="HTTP/1.1 200 OK\r\nContent-Length: ${#Body}\r\n\r\n$Body"
|
|
while true; do
|
|
echo -e $Response | nc -llp 80
|
|
done
|