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 <omfgbunder@gmail.com>
Signed-off-by: BtbN <btbn@btbn.de>
Closes #6519
This commit is contained in:
BtbN 2017-08-17 00:51:51 +02:00 committed by Tony Hutter
parent a803eacf26
commit 6116bbd744
1 changed files with 1 additions and 1 deletions

View File

@ -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; \