1From dc270040cb3beb5ca42f864813145c8a68594bad Mon Sep 17 00:00:00 2001
2From: Kai Kang <kai.kang@windriver.com>
3Date: Mon, 18 Jul 2016 09:06:06 +0800
4Subject: [PATCH] cfengine: add recipe and base policy
5
6Upstream-Status: Inappropriate [configuration]
7
8Set the path of default configure file.
9
10Signed-off-by: Kai Kang <kai.kang@windriver.com>
11
12---
13 misc/init.d/cfengine3.in | 12 ++++--------
14 1 file changed, 4 insertions(+), 8 deletions(-)
15
16diff --git a/misc/init.d/cfengine3.in b/misc/init.d/cfengine3.in
17index c584817..12f5803 100644
18--- a/misc/init.d/cfengine3.in
19+++ b/misc/init.d/cfengine3.in
20@@ -101,14 +101,10 @@ if [ -z "$LOCKDIR" ]; then
21 fi
22
23 # default control file
24-if [ "$DEBIAN" = "1" ]; then
25-    DEFAULT=/etc/default/cfengine3
26-    INIT_FUNCTIONS=/lib/lsb/init-functions
27-    if [ -e "$INIT_FUNCTIONS" ]; then
28-        . "$INIT_FUNCTIONS"
29-    fi
30-else
31-    DEFAULT=/etc/sysconfig/cfengine3
32+DEFAULT=/etc/default/cfengine3
33+INIT_FUNCTIONS=/lib/lsb/init-functions
34+if [ -e "$INIT_FUNCTIONS" ]; then
35+    . "$INIT_FUNCTIONS"
36 fi
37
38 if [ -f $DEFAULT ]; then
39