diff options
author | Mislav Novakovic <mislav.novakovic@sartura.hr> | 2017-12-21 11:16:53 +0100 |
---|---|---|
committer | Mislav Novakovic <mislav.novakovic@sartura.hr> | 2017-12-21 12:43:10 +0100 |
commit | 317d897d444160560126af3982d107d3a34d9eb3 (patch) | |
tree | 65c8bf79260f5f9ce537ca445e7c7e781ff43444 /net/sysrepo/files | |
parent | 87efe0f355f79ecfca921d93ac0149e27197c1c5 (diff) |
sysrepo: bump to latest version
This patche renames the yang files so sysrepoctl does not create
duplicates.
Signed-off-by: Mislav Novakovic <mislav.novakovic@sartura.hr>
Diffstat (limited to 'net/sysrepo/files')
-rw-r--r-- | net/sysrepo/files/libsysrepo.default | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/sysrepo/files/libsysrepo.default b/net/sysrepo/files/libsysrepo.default index ae2af81f8..35b56f67d 100644 --- a/net/sysrepo/files/libsysrepo.default +++ b/net/sysrepo/files/libsysrepo.default @@ -3,27 +3,27 @@ # Warning, problems can occur if the device restarts in the middle of this uci-default script if [ -x /bin/sysrepoctl ]; then - match=$(sysrepoctl -l | grep "ietf-netconf-acm\ ") + match=$(sysrepoctl -l | grep "ietf-netconf-acm ") if [ ! "$match" ]; then sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-acm@2012-02-22.yang -p 644 fi - match=$(sysrepoctl -l | grep "ietf-netconf-notifications\ ") + match=$(sysrepoctl -l | grep "ietf-netconf-notifications ") if [ ! "$match" ]; then - sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-notifications.yang -p 600 + sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-notifications@2012-02-06..yang -p 600 fi - match=$(sysrepoctl -l | grep "nc-notifications\ ") + match=$(sysrepoctl -l | grep "nc-notifications ") if [ ! "$match" ]; then - sysrepoctl --install --yang=/etc/sysrepo/yang/nc-notifications.yang -p 666 + sysrepoctl --install --yang=/etc/sysrepo/yang/nc-notifications@2008-07-14.yang -p 666 fi - match=$(sysrepoctl -l | grep "notifications\ ") + match=$(sysrepoctl -l | grep "notifications ") if [ ! "$match" ]; then - sysrepoctl --install --yang=/etc/sysrepo/yang/notifications.yang -p 666 + sysrepoctl --install --yang=/etc/sysrepo/yang/notifications@2008-07-14.yang -p 666 fi - match=$(sysrepoctl -l | grep "ietf-netconf\ ") + match=$(sysrepoctl -l | grep "ietf-netconf ") if [ ! "$match" ]; then sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf@2011-06-01.yang -p 600 fi |