Browse Source

Merge pull request #7570 from sartura/netopeer2_callhome

netopeer2: enable callhome by default
lilik-openwrt-22.03
Hannu Nyman 6 years ago
committed by GitHub
parent
commit
e5eda839b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      net/Netopeer2/Makefile
  2. +4
    -0
      net/Netopeer2/files/netopeer2-server.default

+ 1
- 0
net/Netopeer2/Makefile View File

@ -11,6 +11,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=Netopeer2 PKG_NAME:=Netopeer2
PKG_VERSION:=0.7-r1 PKG_VERSION:=0.7-r1
PKG_RELEASE:=1
PKG_LICENSE:=BSD-3-Clause PKG_LICENSE:=BSD-3-Clause
PKG_MAINTAINER:=Mislav Novakovic <mislav.novakovic@sartura.hr> PKG_MAINTAINER:=Mislav Novakovic <mislav.novakovic@sartura.hr>


+ 4
- 0
net/Netopeer2/files/netopeer2-server.default View File

@ -28,6 +28,10 @@ if [ -x /bin/sysrepoctl ]; then
sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-server@2016-11-02.yang -o root:root -p 600 sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-server@2016-11-02.yang -o root:root -p 600
sysrepoctl -m ietf-netconf-server -e listen sysrepoctl -m ietf-netconf-server -e listen
sysrepoctl -m ietf-netconf-server -e ssh-listen sysrepoctl -m ietf-netconf-server -e ssh-listen
sysrepoctl -m ietf-netconf-server -e tls-listen
sysrepoctl -m ietf-netconf-server -e call-home
sysrepoctl -m ietf-netconf-server -e ssh-call-home
sysrepoctl -m ietf-netconf-server -e tls-call-home
if [ -x /bin/sysrepocfg ]; then if [ -x /bin/sysrepocfg ]; then
sysrepocfg -f xml -d startup -i /usr/share/netopeer2-server/stock_config.xml ietf-netconf-server sysrepocfg -f xml -d startup -i /usr/share/netopeer2-server/stock_config.xml ietf-netconf-server
rm /usr/share/netopeer2-server/stock_config.xml rm /usr/share/netopeer2-server/stock_config.xml


Loading…
Cancel
Save