From aa563b1555877094971e32b738588f40e293b034 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 4 Jun 2018 15:05:38 +0200 Subject: [PATCH] copy example config files and if masq script to install folder --- srsenb/CMakeLists.txt | 8 ++++++++ srsepc/CMakeLists.txt | 9 ++++++++- srsepc/{if_masq.sh => srsepc_if_masq.sh} | 0 srsue/CMakeLists.txt | 5 +++++ 4 files changed, 21 insertions(+), 1 deletion(-) rename srsepc/{if_masq.sh => srsepc_if_masq.sh} (100%) diff --git a/srsenb/CMakeLists.txt b/srsenb/CMakeLists.txt index f36987915..4bcb12545 100644 --- a/srsenb/CMakeLists.txt +++ b/srsenb/CMakeLists.txt @@ -48,3 +48,11 @@ link_directories( ######################################################################## add_subdirectory(src) add_subdirectory(test) + +######################################################################## +# Default configuration files +######################################################################## +install(FILES enb.conf.example RENAME enb.conf DESTINATION etc/srs) +install(FILES drb.conf.example RENAME drb.conf DESTINATION etc/srs) +install(FILES rr.conf.example RENAME rr.conf DESTINATION etc/srs) +install(FILES sib.conf.example RENAME sib.conf DESTINATION etc/srs) \ No newline at end of file diff --git a/srsepc/CMakeLists.txt b/srsepc/CMakeLists.txt index 2b54d4a1e..c51d17e23 100644 --- a/srsepc/CMakeLists.txt +++ b/srsepc/CMakeLists.txt @@ -47,4 +47,11 @@ link_directories( # Add subdirectories ######################################################################## add_subdirectory(src) -#add_subdirectory(test) + +######################################################################## +# Default configuration files +######################################################################## +install(FILES epc.conf.example RENAME epc.conf DESTINATION etc/srs) +install(FILES mbms.conf.example RENAME mbms.conf DESTINATION etc/srs) +install(FILES user_db.csv.example RENAME user_db.csv DESTINATION etc/srs) +install(FILES srsepc_if_masq.sh DESTINATION ${RUNTIME_DIR}) \ No newline at end of file diff --git a/srsepc/if_masq.sh b/srsepc/srsepc_if_masq.sh similarity index 100% rename from srsepc/if_masq.sh rename to srsepc/srsepc_if_masq.sh diff --git a/srsue/CMakeLists.txt b/srsue/CMakeLists.txt index 07a5f6b8f..456c07523 100644 --- a/srsue/CMakeLists.txt +++ b/srsue/CMakeLists.txt @@ -44,3 +44,8 @@ link_directories( ######################################################################## add_subdirectory(src) add_subdirectory(test) + +######################################################################## +# Default configuration files +######################################################################## +install(FILES ue.conf.example RENAME ue.conf DESTINATION etc/srs) \ No newline at end of file