[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 5d9ccbd..77fed09 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 5f255ed..94253e3 100644 (file)
@@ -49,12 +49,6 @@ start () {
        batmand $batman_args >/dev/null 2>&1
 }
 
-restart () {
-       $0 stop
-       sleep 3
-       $0 start
-}
-        
 stop () {
        killall batmand
 }