From 6116bbd7446f06d913415bdecb208a78b31db0af Mon Sep 17 00:00:00 2001 From: BtbN Date: Thu, 17 Aug 2017 00:51:51 +0200 Subject: [PATCH] Use /sbin/openrc-run for openrc init scripts Using /sbin/runscript is deprecated and throws a QA warning when still used in init scripts. Reviewed-by: bunder2015 Signed-off-by: BtbN Closes #6519 --- etc/init.d/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am index 247db0aba8..93432386a2 100644 --- a/etc/init.d/Makefile.am +++ b/etc/init.d/Makefile.am @@ -22,7 +22,7 @@ $(init_SCRIPTS) $(initconf_SCRIPTS) $(initcommon_SCRIPTS):%:%.in NFS_SRV=nfs; \ fi; \ if [ -e /sbin/openrc-run ]; then \ - SHELL=/sbin/runscript; \ + SHELL=/sbin/openrc-run; \ else \ SHELL=/bin/sh; \ fi; \