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
a803eacf26
commit
6116bbd744
|
@ -22,7 +22,7 @@ $(init_SCRIPTS) $(initconf_SCRIPTS) $(initcommon_SCRIPTS):%:%.in
|
||||||
NFS_SRV=nfs; \
|
NFS_SRV=nfs; \
|
||||||
fi; \
|
fi; \
|
||||||
if [ -e /sbin/openrc-run ]; then \
|
if [ -e /sbin/openrc-run ]; then \
|
||||||
SHELL=/sbin/runscript; \
|
SHELL=/sbin/openrc-run; \
|
||||||
else \
|
else \
|
||||||
SHELL=/bin/sh; \
|
SHELL=/bin/sh; \
|
||||||
fi; \
|
fi; \
|
||||||
|
|
Loading…
Reference in New Issue