Harald Welte has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/10917 )

Change subject: Install sample cfg file to /etc/osmocom
......................................................................

Install sample cfg file to /etc/osmocom

Change-Id: Id898e920b934fbfb0b9abe1e3085ac817fa4634d
---
M debian/osmo-gbproxy.install
M debian/osmo-gtphub.install
M debian/osmo-sgsn.install
M doc/examples/Makefile.am
4 files changed, 13 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



diff --git a/debian/osmo-gbproxy.install b/debian/osmo-gbproxy.install
index 9c7fb77..a8c0dad 100644
--- a/debian/osmo-gbproxy.install
+++ b/debian/osmo-gbproxy.install
@@ -1,3 +1,4 @@
+etc/osmocom/osmo-gbproxy.cfg
 lib/systemd/system/osmo-gbproxy.service
 usr/bin/osmo-gbproxy
 usr/share/doc/osmo-sgsn/examples/osmo-gbproxy/osmo-gbproxy-legacy.cfg 
usr/share/doc/osmo-gbproxy/examples
diff --git a/debian/osmo-gtphub.install b/debian/osmo-gtphub.install
index 568caaf..0782076 100644
--- a/debian/osmo-gtphub.install
+++ b/debian/osmo-gtphub.install
@@ -1,3 +1,4 @@
+etc/osmocom/osmo-gtphub.cfg
 lib/systemd/system/osmo-gtphub.service
 usr/bin/osmo-gtphub
 usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub-1iface.cfg 
usr/share/doc/osmo-gtphub/examples
diff --git a/debian/osmo-sgsn.install b/debian/osmo-sgsn.install
index 9d603f9..b9a46ab 100644
--- a/debian/osmo-sgsn.install
+++ b/debian/osmo-sgsn.install
@@ -1,3 +1,4 @@
+/etc/osmocom/osmo-sgsn.cfg
 lib/systemd/system/osmo-sgsn.service
 usr/bin/osmo-sgsn
 usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn.cfg 
usr/share/doc/osmo-sgsn/examples
diff --git a/doc/examples/Makefile.am b/doc/examples/Makefile.am
index 530c3fa..2b5781a 100644
--- a/doc/examples/Makefile.am
+++ b/doc/examples/Makefile.am
@@ -1,3 +1,13 @@
+OSMOCONF_FILES = \
+       osmo-gtphub/osmo-gtphub.cfg \
+       osmo-sgsn/osmo-sgsn.cfg \
+       osmo-gbproxy/osmo-gbproxy.cfg
+
+osmoconfdir = $(sysconfdir)/osmocom
+osmoconf_DATA = $(OSMOCONF_FILES)
+
+EXTRA_DIST = $(OSMOCONF_FILES)
+
 CFG_FILES = find $(srcdir) -name '*.cfg*' | sed -e 's,^$(srcdir),,'

 dist-hook:

--
To view, visit https://gerrit.osmocom.org/10917
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id898e920b934fbfb0b9abe1e3085ac817fa4634d
Gerrit-Change-Number: 10917
Gerrit-PatchSet: 2
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)

Reply via email to