diff options
Diffstat (limited to 'net-wireless/iwd/iwd-9999.ebuild')
-rw-r--r-- | net-wireless/iwd/iwd-9999.ebuild | 8 |
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 } |