3 # Warning, problems can occur if the device restarts in the middle of this uci-default script
5 if [ -x /bin
/sysrepoctl
]; then
6 match
=$
(sysrepoctl
-l |
grep "ietf-keystore\ ")
7 if [ ! "$match" ]; then
8 sysrepoctl
--install --yang=/etc
/sysrepo
/yang
/ietf-keystore.yang
-o root
:root
-p 600
9 if [ -x /bin
/sysrepocfg
]; then
10 sysrepocfg
-d startup
-i /usr
/share
/netopeer2-keystored
/stock_key_config.xml ietf-keystore
11 rm /usr
/share
/netopeer2-keystored
/stock_key_config.xml