You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
554 B

  1. #!/bin/sh
  2. # Warning, problems can occur if the device restarts in the middle of this uci-default script
  3. if [ -x /bin/sysrepoctl ]; then
  4. sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-acm@2012-02-22.yang -p 644
  5. sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf-notifications.yang -p 600
  6. sysrepoctl --install --yang=/etc/sysrepo/yang/nc-notifications.yang -p 666
  7. sysrepoctl --install --yang=/etc/sysrepo/yang/notifications.yang -p 666
  8. sysrepoctl --install --yang=/etc/sysrepo/yang/ietf-netconf@2011-06-01.yang -p 600
  9. fi
  10. exit 0