aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/fstrimDaemon/fstrimDaemon-9999.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/fstrimDaemon/fstrimDaemon-9999.ebuild b/sys-apps/fstrimDaemon/fstrimDaemon-9999.ebuild
index e24f85d..07ce561 100644
--- a/sys-apps/fstrimDaemon/fstrimDaemon-9999.ebuild
+++ b/sys-apps/fstrimDaemon/fstrimDaemon-9999.ebuild
@@ -28,6 +28,7 @@ src_install() {
dosbin usr/sbin/fstrimDaemon.sh
dodoc README.md
if ! use systemd ; then
+ sed -i -e "s|sbin/runscript|sbin/openrc-run|" etc/init.d/fstrimDaemon
doinitd etc/init.d/fstrimDaemon
doconfd etc/conf.d/fstrimDaemon
else