Commit 32f31648 authored by Axel Auweter's avatar Axel Auweter
Browse files

In init.d script: Check for open port also on IPv6 addresses.

parent b3bb81f7
......@@ -48,7 +48,7 @@ wait_for_listen_port() {
exit 3
fi
sleep 1
netstat -l --numeric --inet | grep $1 > /dev/null
netstat -l --numeric --inet --inet6 | grep $1 > /dev/null
if [ "$?" -eq "0" ]; then
E=1
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment