summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorMislav Novakovic <mislav.novakovic@sartura.hr>2017-05-23 12:10:44 +0200
committerMislav Novakovic <mislav.novakovic@sartura.hr>2017-05-24 16:04:55 +0200
commit85259eccee5491f459c223f3475a9d507763276c (patch)
treeaaf5551bdc186d546d4f2ff301a934c2996f4646 /net
parent9289fbf949c4c32507e6ac52078777f6aec74ea3 (diff)
netopeer2-server: add custom config file
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
Diffstat (limited to 'net')
-rw-r--r--net/netopeer2/Makefile2
-rw-r--r--net/netopeer2/files/stock_config.xml17
2 files changed, 18 insertions, 1 deletions
diff --git a/net/netopeer2/Makefile b/net/netopeer2/Makefile
index ac242eb6a..c0a1cdcbe 100644
--- a/net/netopeer2/Makefile
+++ b/net/netopeer2/Makefile
@@ -112,7 +112,7 @@ define Package/netopeer2-server/install
$(INSTALL_BIN) ./files/netopeer2-server.init $(1)/etc/init.d/netopeer2-server
$(INSTALL_DIR) $(1)/usr/share/netopeer2-server
- $(INSTALL_DATA) $(PKG_BUILD_ROOT)/server/stock_config.xml $(1)/usr/share/netopeer2-server
+ $(INSTALL_DATA) ./files/stock_config.xml $(1)/usr/share/netopeer2-server
endef
define Package/netopeer2-cli/install
diff --git a/net/netopeer2/files/stock_config.xml b/net/netopeer2/files/stock_config.xml
new file mode 100644
index 000000000..45766846a
--- /dev/null
+++ b/net/netopeer2/files/stock_config.xml
@@ -0,0 +1,17 @@
+<netconf-server xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-server">
+ <listen>
+ <endpoint>
+ <name>test_ssh_listen_endpt</name>
+ <ssh>
+ <address>::</address>
+ <port>830</port>
+ <host-keys>
+ <host-key>
+ <name>test_ssh_listen_key</name>
+ <public-key>ssh_host_rsa_key</public-key>
+ </host-key>
+ </host-keys>
+ </ssh>
+ </endpoint>
+ </listen>
+</netconf-server>