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:
parent
c8f9061fc7
commit
a1f3a1c05f
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue