mirror of https://gerrit.osmocom.org/osmo-sysmon
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:
parent
77be9ca058
commit
bf35719529
|
@ -1,3 +1,5 @@
|
|||
SUBDIRS = doc
|
||||
|
||||
AM_CPPFLAGS = \
|
||||
$(all_includes) \
|
||||
-I$(top_srcdir) \
|
||||
|
|
|
@ -127,4 +127,6 @@ dnl Generate the output
|
|||
AM_CONFIG_HEADER(config.h)
|
||||
|
||||
AC_OUTPUT(
|
||||
doc/Makefile
|
||||
doc/examples/Makefile
|
||||
Makefile)
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
SUBDIRS = examples
|
|
@ -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
|
|
@ -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
|
|
@ -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;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue