From: BtbN Date: Wed, 16 Aug 2017 22:51:51 +0000 (+0200) Subject: Use /sbin/openrc-run for openrc init scripts X-Git-Tag: zfs-0.8.0-rc1~603 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1f3a1c05fa9cb06334189813d0e0d556d479620;p=zfs 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 --- diff --git a/etc/init.d/Makefile.am b/etc/init.d/Makefile.am index 247db0aba..93432386a 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; \