Browse Source

netopeer2-server: add custom config file

Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
lilik-openwrt-22.03
Mislav Novakovic 8 years ago
parent
commit
85259eccee
2 changed files with 18 additions and 1 deletions
  1. +1
    -1
      net/netopeer2/Makefile
  2. +17
    -0
      net/netopeer2/files/stock_config.xml

+ 1
- 1
net/netopeer2/Makefile View File

@ -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


+ 17
- 0
net/netopeer2/files/stock_config.xml View File

@ -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>

Loading…
Cancel
Save