summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-09-10 05:54:45 -0500
committerBen Kohler <bkohler@gentoo.org>2020-09-10 05:55:08 -0500
commite33364b80a8afd78831e66fc821ebdb58d5c981e (patch)
tree7f2c9cc88eb6e9adcdbe75415caec1dea4d47b79 /net-wireless
parentdev-vcs/git: Added python3_8 support (diff)
downloadgentoo-e33364b80a8afd78831e66fc821ebdb58d5c981e.tar.gz
gentoo-e33364b80a8afd78831e66fc821ebdb58d5c981e.tar.bz2
gentoo-e33364b80a8afd78831e66fc821ebdb58d5c981e.zip
net-wireless/iwd: add missing [Network] section in iwd/main.conf
Reported/fixed by Gabriel Closes: https://bugs.gentoo.org/741378 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/iwd/iwd-1.9-r1.ebuild (renamed from net-wireless/iwd/iwd-1.9.ebuild)8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-wireless/iwd/iwd-1.9.ebuild b/net-wireless/iwd/iwd-1.9-r1.ebuild
index 6ba254f37649..d9b58be0e827 100644
--- a/net-wireless/iwd/iwd-1.9.ebuild
+++ b/net-wireless/iwd/iwd-1.9-r1.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
}