packages/net/fwknop/patches/002-fix_init.patch
swalker 077acd8e04 [packages] fwknop: update to 2.0, use new startup commands
Signed-off-by: Jonathan Bennett <jbscience87@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@31824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-20 01:45:42 +00:00

18 lines
297 B
Diff

--- a/extras/openwrt/package/fwknop/files/fwknopd.init
+++ b/extras/openwrt/package/fwknop/files/fwknopd.init
@@ -8,12 +8,12 @@ FWKNOPD_BIN=/usr/sbin/fwknopd
start()
{
- $FWKNOPD_BIN
+ service_start $FWKNOPD_BIN
}
stop()
{
- $FWKNOPD_BIN -K
+ service_stop $FWKNOPD_BIN -K
}
restart()