Merge pull request #4447 from sartura/sysrepo-salience
sysrepo: salience
This commit is contained in:
commit
2b5b997db5
2 changed files with 3 additions and 8 deletions
|
@ -81,7 +81,8 @@ CMAKE_OPTIONS += \
|
||||||
-DCOMMIT_VERIFY_TIMEOUT=20 \
|
-DCOMMIT_VERIFY_TIMEOUT=20 \
|
||||||
-DOPER_DATA_PROVIDE_TIMEOUT=4 \
|
-DOPER_DATA_PROVIDE_TIMEOUT=4 \
|
||||||
-DNOTIF_AGE_TIMEOUT=120 \
|
-DNOTIF_AGE_TIMEOUT=120 \
|
||||||
-DNOTIF_TIME_WINDOW=20
|
-DNOTIF_TIME_WINDOW=20 \
|
||||||
|
-DUSE_SR_MEM_MGMT=0
|
||||||
|
|
||||||
define Package/libsysrepo/install
|
define Package/libsysrepo/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh /etc/rc.common
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
START=70
|
START=60
|
||||||
STOP=10
|
STOP=10
|
||||||
|
|
||||||
USE_PROCD=1
|
USE_PROCD=1
|
||||||
|
@ -23,12 +23,6 @@ start_service() {
|
||||||
|
|
||||||
stop_service()
|
stop_service()
|
||||||
{
|
{
|
||||||
if [ -f /etc/init.d/netopeer2-server ]; then
|
|
||||||
# netopeer2-server will automatically start sysrepod,
|
|
||||||
# so we need to stop it
|
|
||||||
/etc/init.d/netopeer2-server stop
|
|
||||||
sleep 1
|
|
||||||
fi
|
|
||||||
service_stop ${PROG_PLUGIN}
|
service_stop ${PROG_PLUGIN}
|
||||||
service_stop ${PROG_DEAMON}
|
service_stop ${PROG_DEAMON}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue