commit:     25f38f931a74bd955df8be0d501282119202219f
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 10 10:56:41 2020 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Sep 10 10:56:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f38f93

net-wireless/iwd: sync live ebuild

Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-wireless/iwd/iwd-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
index 604e376346d..c17d39b0880 100644
--- a/net-wireless/iwd/iwd-9999.ebuild
+++ b/net-wireless/iwd/iwd-9999.ebuild
@@ -168,10 +168,12 @@ src_install() {
        fi
 
        if use standalone ; then
+               local iwdconf="${ED}/etc/iwd/main.conf"
                dodir /etc/iwd
-               echo "[General]" > ${ED}/etc/iwd/main.conf
-               echo "EnableNetworkConfiguration=true" >> 
"${ED}"/etc/iwd/main.conf
-               echo "NameResolvingService=$(usex systemd systemd resolvconf)" 
>> "${ED}"/etc/iwd/main.conf
+               echo "[General]" > "${iwdconf}"
+               echo "EnableNetworkConfiguration=true" >> "${iwdconf}"
+               echo "[Network]" >> "${iwdconf}"
+               echo "NameResolvingService=$(usex systemd systemd resolvconf)" 
>> "${iwdconf}"
                echo "rc_provide=\"net\"" > ${ED}/etc/conf.d/iwd
        fi
 }

Reply via email to