commit:     087dbe4a60e74623378a185e50665d20ac5daf49
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  7 05:03:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jan  7 05:04:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=087dbe4a

sys-process/atop: install init script for netatop

Already in FILESDIR but forgot to actually add it
again in the ebuild (didn't test on the same
machine as I committed it on).

Closes: https://github.com/gentoo/gentoo/pull/23520
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-process/atop/{atop-2.7.0.ebuild => atop-2.7.0-r1.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sys-process/atop/atop-2.7.0.ebuild 
b/sys-process/atop/atop-2.7.0-r1.ebuild
similarity index 95%
rename from sys-process/atop/atop-2.7.0.ebuild
rename to sys-process/atop/atop-2.7.0-r1.ebuild
index 224879742c4a..4e4a270b83e0 100644
--- a/sys-process/atop/atop-2.7.0.ebuild
+++ b/sys-process/atop/atop-2.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -85,8 +85,7 @@ src_install() {
 
                systemd_dounit "${NETATOP_S}"/netatop.service
 
-               # TODO: openrc init script
-               #install -T -m 0755 netatop.init /etc/init.d/netatop
+               newinitd "${FILESDIR}"/netatop.rc netatop
        fi
 
        emake DESTDIR="${D}" genericinstall

Reply via email to