aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-12 18:52:11 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-13 13:58:26 +0000
commitf552166c629176e2c2d47da7c459a683967b9753 (patch)
treeafdb0fc6743bbb68c1b9d55ecab7dce6d3b17321
parentd58ddb2c4e6534c4d3db90beb2692b67e3a9b83a (diff)
Install sample cfg file to /etc/osmocom
-rw-r--r--debian/osmo-bsc.install1
-rw-r--r--doc/examples/Makefile.am8
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/osmo-bsc.install b/debian/osmo-bsc.install
index 651ddb38f..8f91b03bc 100644
--- a/debian/osmo-bsc.install
+++ b/debian/osmo-bsc.install
@@ -1,3 +1,4 @@
+/etc/osmocom/osmo-bsc.cfg
lib/systemd/system/osmo-bsc.service
usr/bin/osmo-bsc
usr/share/doc/osmo-bsc/examples/osmo-bsc/osmo-bsc_custom-sccp.cfg usr/share/doc/osmo-bsc/examples
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 530c3fa8f..9d8cd75d6 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,3 +1,11 @@
+OSMOCONF_FILES = \
+ osmo-bsc/osmo-bsc.cfg
+
+osmoconfdir = $(sysconfdir)/osmocom
+osmoconf_DATA = $(OSMOCONF_FILES)
+
+EXTRA_DIST = $(OSMOCONF_FILES)
+
CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'
dist-hook: