netopeer2 icon indicating copy to clipboard operation
netopeer2 copied to clipboard

Migrating from 2.1.16 to 2.2.13 - LN2_MODULE_DIR environment variable

Open SVC-18 opened this issue 1 year ago • 1 comments

Hi,

I am trying to migrate from 2.1.16 to 2.2.13.

  1. The location of the scripts have changed (in Yocto build): 2.1.16 ---> /etc/netopeer2/scripts/ 2.2.13 ---> /usr/share/netopeer2/scripts

  2. There seems to be another environment variable that needs to be set: LN2_MODULE_DIR

NP2_MODULE_DIR is set to /usr/share/yang/modules/netopeer2/ NP2_MODULE_PERMS is set to 644

What is LN2_MODULE_DIR supposed to be set to?

Thx, SVC

SVC-18 avatar Apr 02 '24 15:04 SVC-18

Hi, it should be exported by libnetconf2 to /usr/share/yang/modules/libnetconf2/.

Roytak avatar Apr 02 '24 16:04 Roytak