Remove hardcoded paths to commands, configs, etc. in source

This commit is contained in:
Philip Prindeville 2023-10-23 13:52:40 -06:00 committed by Olof Hagsand
parent 72db8edf3f
commit b9ed302de1
6 changed files with 48 additions and 14 deletions

View file

@ -74,7 +74,7 @@
/* Netconf binary default, override with environment variable: CLIXON_NETCONF_BIN
* Could try to get path from install/makefile data
*/
#define CLIXON_NETCONF_BIN "/usr/local/bin/clixon_netconf"
#define CLIXON_NETCONF_BIN CLIXON_CONFIG_BINDIR "/clixon_netconf"
#define CLIXON_CLIENT_MAGIC 0x54fe649a