summaryrefslogtreecommitdiffstats
path: root/bin/ykfde-cpio.c
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-12-29 19:33:09 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-12-29 19:33:09 +0100
commit310b7a57bc03db660874eed67b049a910de369fd (patch)
tree39db1054602e0808b85f1336f1e4a377fa8e20f9 /bin/ykfde-cpio.c
parentf567df1043b845749f9db83cbca43c46ff80fe61 (diff)
downloadmkinitcpio-ykfde-310b7a57bc03db660874eed67b049a910de369fd.tar.gz
mkinitcpio-ykfde-310b7a57bc03db660874eed67b049a910de369fd.tar.zst
introduce config.h
We now have configuration in just one place.
Diffstat (limited to 'bin/ykfde-cpio.c')
-rw-r--r--bin/ykfde-cpio.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/ykfde-cpio.c b/bin/ykfde-cpio.c
index ca6f61b..3122a1f 100644
--- a/bin/ykfde-cpio.c
+++ b/bin/ykfde-cpio.c
@@ -22,10 +22,7 @@
#include <archive.h>
#include <archive_entry.h>
-#define CONFIGFILE "/etc/ykfde.conf"
-#define CHALLENGEDIR "/etc/ykfde.d/"
-#define CPIOFILE "/boot/ykfde-challenges.img"
-#define CPIOTMPFILE CPIOFILE "-XXXXXX"
+#include "../config.h"
int add_dir(struct archive *archive, const char * path) {
struct stat st;