termux-packages/root-packages/wpa-supplicant/tncs.c.patch

12 lines
368 B
Diff

--- ../tncs.c.orig 2020-03-10 21:47:04.223447029 +0100
+++ ./src/eap_server/tncs.c 2020-03-10 21:47:25.669539583 +0100
@@ -21,7 +21,7 @@
* needed.. */
#ifndef TNC_CONFIG_FILE
-#define TNC_CONFIG_FILE "/etc/tnc_config"
+#define TNC_CONFIG_FILE "@TERMUX_PREFIX@/etc/tnc_config"
#endif /* TNC_CONFIG_FILE */
#define IF_TNCCS_START \
"<?xml version=\"1.0\"?>\n" \