aboutsummaryrefslogtreecommitdiff
path: root/net/sysrepo/files
diff options
context:
space:
mode:
authorAntonio Paunovic <antonio.paunovic@sartura.hr>2017-06-06 14:52:05 +0000
committerAntonio Paunovic <antonio.paunovic@sartura.hr>2017-06-08 08:46:43 +0000
commit5dcfde18becbc97b9030ccd70c95715746bfdc45 (patch)
treef370333f0bbd995a241969ba4bbbe5322de7cd15 /net/sysrepo/files
parent2436771252f6af11ea1d0a7b1fa46d1e9c81a78d (diff)
sysrepo: salience
Script priority adjusted. Custom memory management turned off to save some memory on low-end device. Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
Diffstat (limited to 'net/sysrepo/files')
-rw-r--r--net/sysrepo/files/sysrepo.init8
1 files changed, 1 insertions, 7 deletions
diff --git a/net/sysrepo/files/sysrepo.init b/net/sysrepo/files/sysrepo.init
index 9c9262c37..9a4320133 100644
--- a/net/sysrepo/files/sysrepo.init
+++ b/net/sysrepo/files/sysrepo.init
@@ -1,6 +1,6 @@
#!/bin/sh /etc/rc.common
-START=70
+START=60
STOP=10
USE_PROCD=1
@@ -23,12 +23,6 @@ start_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_DEAMON}
}