Skip to content

Commit

Permalink
Use /sbin/openrc-run for openrc init scripts
Browse files Browse the repository at this point in the history
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
  • Loading branch information
BtbN authored and behlendorf committed Aug 16, 2017
1 parent c8f9061 commit a1f3a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/init.d/Makefile.am
Expand Up @@ -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; \
Expand Down

0 comments on commit a1f3a1c

Please sign in to comment.