aports/testing/noip2/fix_config_path.patch
Magnus Sandin da27142462 testing/noip2: new aport
https://www.noip.com/
Dynamic DNS Update Client for noip.com
2023-03-12 15:22:13 +01:00

14 lines
359 B
Diff

--- a/noip2.c
+++ b/noip2.c
@@ -242,8 +242,8 @@
#ifndef PREFIX
#define PREFIX "/usr/local"
#endif
-#define CONFIG_FILEPATH PREFIX"/etc"
-#define CONFIG_FILENAME PREFIX"/etc/no-ip2.conf"
+#define CONFIG_FILEPATH "/etc/noip2"
+#define CONFIG_FILENAME "/etc/noip2/no-ip2.conf"
#define CONFSTRLEN 1024
#define MAX_DEVLEN 16
#define MAX_INSTANCE 4