1 |
commit: c9904ab42f5d093c50a5b611de3a3b083e01eeb9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 1 12:33:07 2020 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 1 12:33:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/apache.git/commit/?id=c9904ab4 |
7 |
|
8 |
2.4/init: Fix regexp for interface binding detection |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
2.4/init/apache2.initd | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/2.4/init/apache2.initd b/2.4/init/apache2.initd |
16 |
index 941dad9..e834b44 100755 |
17 |
--- a/2.4/init/apache2.initd |
18 |
+++ b/2.4/init/apache2.initd |
19 |
@@ -37,7 +37,7 @@ depend() { |
20 |
after sshd |
21 |
if ! echo ${rc_need} | grep -Fq "net." ; then |
22 |
local x warn_addr |
23 |
- for x in $(virtualhosts | grep '^\(\[\|\)[[:digit:]]' | sed 's@\(:[[:digit:]]\{1,5\}\)\([[:space:]].*\|$\)@\1@' | sort -u) ; do |
24 |
+ for x in $(virtualhosts | grep '^\(\[\|\*:\|\)[[:digit:]]' | sed 's@\(:[[:digit:]]\{1,5\}\)\([[:space:]].*\|$\)@\1@' | sort -u) ; do |
25 |
case "${x}" in |
26 |
\*:80|\*.443) ;; |
27 |
*) warn_addr="${warn_addr} ${x}" ;; |