aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 19:06:33 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 19:10:28 +0200
commit8a6f6c5a16cb31866598884639e203c6071f0b34 (patch)
treef7690b0f5c30ac0c872d8f1471462e30cfd8208a /doc/examples
parent65d3cc77539c565215e067ff5447f6d1cbab21e4 (diff)
Install sample cfg file to /etc/osmocom
Change cfg file names so they don't overlap when installing different osmo-bts versions, and make systemd services look for correct new name. Remove unneeded duplicated EXTRA_DIST files from root dir Makefile.am Change-Id: I75fdd06cc52ce50628efb1f9b007d2e3926db27d
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/Makefile.am18
-rw-r--r--doc/examples/litecell15/osmo-bts-lc15.cfg (renamed from doc/examples/litecell15/osmo-bts.cfg)0
-rw-r--r--doc/examples/octphy/osmo-bts-octphy.cfg (renamed from doc/examples/octphy/osmo-bts.cfg)0
-rw-r--r--doc/examples/sysmo/osmo-bts-sysmo.cfg (renamed from doc/examples/sysmo/osmo-bts.cfg)0
-rw-r--r--doc/examples/trx/osmo-bts-trx.cfg (renamed from doc/examples/trx/osmo-bts.cfg)0
-rw-r--r--doc/examples/virtual/osmo-bts-virtual.cfg (renamed from doc/examples/virtual/osmobts-virtual.cfg)0
6 files changed, 13 insertions, 5 deletions
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index e4be5fce..241f5794 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,38 +1,46 @@
+OSMOCONF_FILES = virtual/osmo-bts-virtual.cfg
doc_virtualdir = $(docdir)/examples/osmo-bts-virtual
doc_virtual_DATA = \
- virtual/osmobts-virtual.cfg \
+ virtual/osmo-bts-virtual.cfg \
virtual/openbsc-virtual.cfg
EXTRA_DIST = $(doc_virtual_DATA)
if ENABLE_SYSMOBTS
doc_sysmodir = $(docdir)/examples/osmo-bts-sysmo
doc_sysmo_DATA = \
- sysmo/osmo-bts.cfg \
+ sysmo/osmo-bts-sysmo.cfg \
sysmo/sysmobts-mgr.cfg
EXTRA_DIST += $(doc_sysmo_DATA)
+OSMOCONF_FILES += sysmo/osmo-bts-sysmo.cfg
endif
if ENABLE_TRX
doc_trxdir = $(docdir)/examples/osmo-bts-trx
doc_trx_DATA = \
- trx/osmo-bts.cfg \
+ trx/osmo-bts-trx.cfg \
trx/osmo-bts-trx-calypso.cfg
EXTRA_DIST += $(doc_trx_DATA)
+OSMOCONF_FILES += trx/osmo-bts-trx.cfg
endif
if ENABLE_OCTPHY
doc_octphydir = $(docdir)/examples/osmo-bts-octphy
doc_octphy_DATA = \
octphy/osmo-bts-trx2dsp1.cfg \
- octphy/osmo-bts.cfg
+ octphy/osmo-bts-octphy.cfg
EXTRA_DIST += $(doc_octphy_DATA)
+OSMOCONF_FILES += octphy/osmo-bts-octphy.cfg
endif
if ENABLE_LC15BTS
doc_lc15dir = $(docdir)/examples/osmo-bts-lc15
doc_lc15_DATA = \
- litecell15/osmo-bts.cfg \
+ litecell15/osmo-bts-lc15.cfg \
litecell15/lc15bts-mgr.cfg
EXTRA_DIST += $(doc_lc15_DATA)
+OSMOCONF_FILES += litecell15/osmo-bts-lc15.cfg
endif
+
+osmoconfdir = $(sysconfdir)/osmocom
+osmoconf_DATA = $(OSMOCONF_FILES)
diff --git a/doc/examples/litecell15/osmo-bts.cfg b/doc/examples/litecell15/osmo-bts-lc15.cfg
index f0bafe8d..f0bafe8d 100644
--- a/doc/examples/litecell15/osmo-bts.cfg
+++ b/doc/examples/litecell15/osmo-bts-lc15.cfg
diff --git a/doc/examples/octphy/osmo-bts.cfg b/doc/examples/octphy/osmo-bts-octphy.cfg
index c729d1a4..c729d1a4 100644
--- a/doc/examples/octphy/osmo-bts.cfg
+++ b/doc/examples/octphy/osmo-bts-octphy.cfg
diff --git a/doc/examples/sysmo/osmo-bts.cfg b/doc/examples/sysmo/osmo-bts-sysmo.cfg
index 87dfae00..87dfae00 100644
--- a/doc/examples/sysmo/osmo-bts.cfg
+++ b/doc/examples/sysmo/osmo-bts-sysmo.cfg
diff --git a/doc/examples/trx/osmo-bts.cfg b/doc/examples/trx/osmo-bts-trx.cfg
index 805d9296..805d9296 100644
--- a/doc/examples/trx/osmo-bts.cfg
+++ b/doc/examples/trx/osmo-bts-trx.cfg
diff --git a/doc/examples/virtual/osmobts-virtual.cfg b/doc/examples/virtual/osmo-bts-virtual.cfg
index fa22316b..fa22316b 100644
--- a/doc/examples/virtual/osmobts-virtual.cfg
+++ b/doc/examples/virtual/osmo-bts-virtual.cfg