summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-09-10 05:56:41 -0500
committerBen Kohler <bkohler@gentoo.org>2020-09-10 05:56:41 -0500
commit25f38f931a74bd955df8be0d501282119202219f (patch)
tree4e1efdf9b81937357e229f4d0bb16b57d84bc424 /net-wireless
parentnet-wireless/iwd: add missing [Network] section in iwd/main.conf (diff)
downloadgentoo-25f38f931a74bd955df8be0d501282119202219f.tar.gz
gentoo-25f38f931a74bd955df8be0d501282119202219f.tar.bz2
gentoo-25f38f931a74bd955df8be0d501282119202219f.zip
net-wireless/iwd: sync live ebuild
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-9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
index 604e376346d4..c17d39b08802 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
}