1 |
commit: 25f38f931a74bd955df8be0d501282119202219f |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 10 10:56:41 2020 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 10 10:56:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f38f93 |
7 |
|
8 |
net-wireless/iwd: sync live ebuild |
9 |
|
10 |
Package-Manager: Portage-3.0.6, Repoman-3.0.1 |
11 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
12 |
|
13 |
net-wireless/iwd/iwd-9999.ebuild | 8 +++++--- |
14 |
1 file changed, 5 insertions(+), 3 deletions(-) |
15 |
|
16 |
diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild |
17 |
index 604e376346d..c17d39b0880 100644 |
18 |
--- a/net-wireless/iwd/iwd-9999.ebuild |
19 |
+++ b/net-wireless/iwd/iwd-9999.ebuild |
20 |
@@ -168,10 +168,12 @@ src_install() { |
21 |
fi |
22 |
|
23 |
if use standalone ; then |
24 |
+ local iwdconf="${ED}/etc/iwd/main.conf" |
25 |
dodir /etc/iwd |
26 |
- echo "[General]" > ${ED}/etc/iwd/main.conf |
27 |
- echo "EnableNetworkConfiguration=true" >> "${ED}"/etc/iwd/main.conf |
28 |
- echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${ED}"/etc/iwd/main.conf |
29 |
+ echo "[General]" > "${iwdconf}" |
30 |
+ echo "EnableNetworkConfiguration=true" >> "${iwdconf}" |
31 |
+ echo "[Network]" >> "${iwdconf}" |
32 |
+ echo "NameResolvingService=$(usex systemd systemd resolvconf)" >> "${iwdconf}" |
33 |
echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd |
34 |
fi |
35 |
} |