diff options
author | 2020-12-01 13:33:07 +0100 | |
---|---|---|
committer | 2020-12-01 13:33:07 +0100 | |
commit | c9904ab42f5d093c50a5b611de3a3b083e01eeb9 (patch) | |
tree | 32711601100a3180a31fe5bd0902a6cb4efc89a7 | |
parent | Revert "rolltarball.sh: Create xz compressed tarballs" (diff) | |
download | apache-c9904ab42f5d093c50a5b611de3a3b083e01eeb9.tar.gz apache-c9904ab42f5d093c50a5b611de3a3b083e01eeb9.tar.bz2 apache-c9904ab42f5d093c50a5b611de3a3b083e01eeb9.zip |
2.4/init: Fix regexp for interface binding detection
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rwxr-xr-x | 2.4/init/apache2.initd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2.4/init/apache2.initd b/2.4/init/apache2.initd index 941dad9..e834b44 100755 --- a/2.4/init/apache2.initd +++ b/2.4/init/apache2.initd @@ -37,7 +37,7 @@ depend() { after sshd if ! echo ${rc_need} | grep -Fq "net." ; then local x warn_addr - for x in $(virtualhosts | grep '^\(\[\|\)[[:digit:]]' | sed 's@\(:[[:digit:]]\{1,5\}\)\([[:space:]].*\|$\)@\1@' | sort -u) ; do + for x in $(virtualhosts | grep '^\(\[\|\*:\|\)[[:digit:]]' | sed 's@\(:[[:digit:]]\{1,5\}\)\([[:space:]].*\|$\)@\1@' | sort -u) ; do case "${x}" in \*:80|\*.443) ;; *) warn_addr="${warn_addr} ${x}" ;; |