6beaed3f99
since Debian unstable has not been updated yet.
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: BtbN <btbn@btbn.de>
|
|
Date: Thu, 17 Aug 2017 00:51:51 +0200
|
|
Subject: [PATCH] Use /sbin/openrc-run for openrc init scripts
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
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
|
|
(cherry picked from commit 6116bbd7446f06d913415bdecb208a78b31db0af)
|
|
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
|
|
---
|
|
etc/init.d/Makefile.am | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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; \
|
|
--
|
|
2.14.2
|
|
|