blob: b9526f284355d1715f327dfedec38f0ad72e6885 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Upstream-Status: Inappropriate [configuration]
Set the path of default configure file.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
diff --git a/misc/init.d/cfengine3.in b/misc/init.d/cfengine3.in
index d6ae26f..1dee283 100644
--- a/misc/init.d/cfengine3.in
+++ b/misc/init.d/cfengine3.in
@@ -101,11 +101,7 @@ if [ -z "$LOCKDIR" ]; then
fi
# default control file
-if [ "$DEBIAN" = "1" ]; then
- DEFAULT=/etc/default/cfengine3
-else
- DEFAULT=/etc/sysconfig/cfengine3
-fi
+DEFAULT=/etc/default/cfengine3
if [ -f $DEFAULT ]; then
. $DEFAULT
|