main: use etc folder instead of cfg to store .json configuration file

debian packages use etc, so update source code to use this folder too.
master
OpenGnSys Support Team 2023-11-14 11:18:46 +01:00
parent 944fef7b04
commit e7c4e16602
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ static struct option og_server_opts[] = {
{ NULL },
};
#define OG_SERVER_CFG_JSON "/opt/opengnsys/cfg/ogserver.json"
#define OG_SERVER_CFG_JSON "/opt/opengnsys/etc/ogserver.json"
#define OG_SERVER_REPO_PATH "/opt/opengnsys/images"
struct og_server_cfg ogconfig = {