[package] do not override restart function
authorFlorian Fainelli <florian@openwrt.org>
Sat, 11 Apr 2009 16:30:23 +0000 (16:30 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 11 Apr 2009 16:30:23 +0000 (16:30 +0000)
SVN-Revision: 15213

net/batman/Makefile
net/batman/files/etc/init.d/batmand

index 5d9ccbdacd3570ef1d65c7cbde2d3c99b460956a..77fed098a22e19bd706892f2dcf6be41168ecd5b 100644 (file)
@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/kernel.mk
 PKG_NAME:=batmand
 PKG_REV:=1235
 PKG_VERSION:=r$(PKG_REV)
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 #PKG_BRANCH:=batman-0.3
 PKG_EXTRA_CFLAGS=-DDEBUG_MALLOC -DMEMORY_USAGE -DPROFILE_DATA -DREVISION_VERSION=\"\ rv$(PKG_REV)\"
 
index 5f255ed419942717f9097ee3228504b83ccb40c9..94253e3efb92c3e3f03662f6e0b9114c8a5845a5 100644 (file)
@@ -49,12 +49,6 @@ start () {
        batmand $batman_args >/dev/null 2>&1
 }
 
-restart () {
-       $0 stop
-       sleep 3
-       $0 start
-}
-        
 stop () {
        killall batmand
 }