netopeer2: enable callhome by default
authorMislav Novakovic <mislav.novakovic@sartura.hr>
Tue, 4 Dec 2018 10:21:14 +0000 (11:21 +0100)
committerMislav Novakovic <mislav.novakovic@sartura.hr>
Thu, 6 Dec 2018 09:26:43 +0000 (10:26 +0100)
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
net/Netopeer2/Makefile
net/Netopeer2/files/netopeer2-server.default

index f61ddcc66abd9bb5708134137fcf19594820c51e..7550e40ccc47c45d7ca1441a1dd72439f09c2d3b 100644 (file)
@@ -11,6 +11,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=Netopeer2
 PKG_VERSION:=0.7-r1
+PKG_RELEASE:=1
 
 PKG_LICENSE:=BSD-3-Clause
 PKG_MAINTAINER:=Mislav Novakovic <mislav.novakovic@sartura.hr>
index 1cabba79876532c8e2db5553f2095f2c65783a2b..f0593fe61a5c896156dc6785962e7c751cb86a52 100644 (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 -m ietf-netconf-server -e 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
                        sysrepocfg -f xml -d startup -i /usr/share/netopeer2-server/stock_config.xml ietf-netconf-server
                        rm /usr/share/netopeer2-server/stock_config.xml