Update default config

Rename default config to match the binary name and add config exampe.

Change-Id: Iabfc78c95e904af7372f10c195b2b979675d34f3
Related: SYS#2655
This commit is contained in:
Max 2018-11-22 13:32:27 +01:00
parent 77be9ca058
commit bf35719529
6 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,5 @@
SUBDIRS = doc
AM_CPPFLAGS = \
$(all_includes) \
-I$(top_srcdir) \

View File

@ -127,4 +127,6 @@ dnl Generate the output
AM_CONFIG_HEADER(config.h)
AC_OUTPUT(
doc/Makefile
doc/examples/Makefile
Makefile)

1
doc/Makefile.am Normal file
View File

@ -0,0 +1 @@
SUBDIRS = examples

7
doc/examples/Makefile.am Normal file
View File

@ -0,0 +1,7 @@
examples_sysmondir = $(docdir)/examples/osmo-sysmon
examples_sysmon_DATA = osmo-sysmon.cfg
osmoconfdir = $(sysconfdir)/osmocom
osmoconf_DATA = osmo-sysmon.cfg
EXTRA_DIST = osmo-sysmon.cfg

View File

@ -0,0 +1,5 @@
ctrl-client bsc 127.0.0.1 4249
get-variable bts_connection_status
get-variable msc.0.connection_status
netdev eth0
netdev tun0

View File

@ -70,7 +70,7 @@ static struct vty_app_info vty_info = {
};
static const char *config_file = "osysmon.cfg";
static const char *config_file = "osmo-sysmon.cfg";
struct osysmon_state *g_oss;