dibbler: fix initscript (closes: #7628), bump release number
authorNicolas Thill <nico@openwrt.org>
Sat, 17 Jul 2010 12:45:42 +0000 (12:45 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 17 Jul 2010 12:45:42 +0000 (12:45 +0000)
SVN-Revision: 22245

ipv6/dibbler/Makefile
ipv6/dibbler/files/dibbler.init

index 7881c5fde398e9c3e201b132788f5b6b86ade51b..0112dcdd296c0f3d60c67adde4d0a7980b8c4b9a 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dibbler
 PKG_VERSION:=0.7.3
-PKG_RELEASE:=5
+PKG_RELEASE:=6
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
 PKG_SOURCE_URL:=http://klub.com.pl/dhcpv6/dibbler/
index e6ab3e3f686d454315ccba9ff1e69783bb57e73f..0a93c2a48b62af88ab507b60c7f9c4402c0cf2b7 100644 (file)
@@ -1,12 +1,13 @@
 #!/bin/sh /etc/rc.common
+
 START=90
 STOP=90
 
 start() {
-       [ -d /var/lib/dibbler ] || mkdir -p /var/lib/dibbler
-       dibbler-server
+       mkdir -p /var/lib/dibbler
+       dibbler-server start
 }
 
 stop() {
-       killall -9 dibbler-server
+       dibbler-server stop
 }