mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 06:59:51 +00:00
6217758b67
There have been no releases since 2020-06-16. Update to the latest git 5f083426b4ede24b2576f3a56eaf8ac3632c02f7 Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
12 lines
349 B
Diff
12 lines
349 B
Diff
--- a/common/userpref.c
|
|
+++ b/common/userpref.c
|
|
@@ -173,7 +173,7 @@ const char *userpref_get_config_dir()
|
|
#ifdef __APPLE__
|
|
base_config_dir = strdup("/var/db");
|
|
#else
|
|
- base_config_dir = strdup("/var/lib");
|
|
+ base_config_dir = strdup("/etc");
|
|
#endif
|
|
#endif
|
|
__config_dir = string_concat(base_config_dir, DIR_SEP_S, USERPREF_CONFIG_DIR, NULL);
|