netsnmp: adjust init script by creating start(), stop(), reload()
authoruniverse II <universeii@gmx.de>
Thu, 25 Feb 2016 21:24:41 +0000 (22:24 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 Jul 2016 12:47:02 +0000 (14:47 +0200)
commit291f3f948dbf3fdcbbd1f9d6fb00d1bac0bd92c5
tree3916e2eb6c124a229a4c9d16238cdefd801158c8
parent1ce1d924f5aa48176179eeb85baedb07a11c8ec1
netsnmp: adjust init script by creating start(), stop(), reload()

Change the init script to get rid of double code. Start, stop and reload
code has been put into separate functions and 'restart' will just call
stop() and start() with a delay in between.

Signed-off-by: Andreas Ehmanns <universeII@gmx.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/netsnmp/S59snmpd