diff options
author | BtbN <[email protected]> | 2017-08-17 00:51:51 +0200 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-08-16 15:51:51 -0700 |
commit | a1f3a1c05fa9cb06334189813d0e0d556d479620 (patch) | |
tree | dea0b7768c7478b8576dc304a74ea99fb2deace7 /etc/init.d/Makefile.am | |
parent | c8f9061fc714696a53cf4d14a4567f0a83dbf862 (diff) |
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 <[email protected]>
Signed-off-by: BtbN <[email protected]>
Closes #6519
Diffstat (limited to 'etc/init.d/Makefile.am')
-rw-r--r-- | etc/init.d/Makefile.am | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ |