mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 20:51:57 +02:00
Add recipes of cfengine and cfengine-masterfiles which provides base policy files. There are 3 optional database backend: qdbm, tokyocabinet and lmdb with descending priority. Package tokyocabinet is released as a rework of qdbm by same upstream author, so it is choosen to be default database backend. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452657 Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
24 lines
567 B
Diff
24 lines
567 B
Diff
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
|