diff options
Diffstat (limited to 'net-misc/connman')
-rw-r--r-- | net-misc/connman/connman-1.42_pre20230116-r2.ebuild (renamed from net-misc/connman/connman-1.42_pre20230116-r1.ebuild) | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/net-misc/connman/connman-1.42_pre20230116-r1.ebuild b/net-misc/connman/connman-1.42_pre20230116-r2.ebuild index 2f464d316e0d..d1dc59e3b63c 100644 --- a/net-misc/connman/connman-1.42_pre20230116-r1.ebuild +++ b/net-misc/connman/connman-1.42_pre20230116-r2.ebuild @@ -59,15 +59,13 @@ src_prepare() { default eautoreconf - cp "${FILESDIR}"/connman.initd2 "${FILESDIR}"/connman.confd "${T}" + cp "${FILESDIR}"/connman.initd2 "${T}" if use iwd; then sed -i \ -e "s/need dbus/need dbus iwd/" \ + -e '/start-stop-daemon --start/ s/ -- / -- --wifi=iwd_agent /' \ "${T}"/connman.initd2 || die sed -i \ - -e 's/CONNMAN_OPTS=""/CONNMAN_OPTS="--wifi=iwd_agent"/' \ - "${T}"/connman.confd || die - sed -i \ -e "/^ExecStart/ s/$/ --wifi=iwd_agent/" \ src/connman.service.in || die fi @@ -125,7 +123,7 @@ src_install() { keepdir /usr/lib/${PN}/scripts keepdir /var/lib/${PN} newinitd "${T}"/${PN}.initd2 ${PN} - newconfd "${T}"/${PN}.confd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} } pkg_postinst() { |