[packages] babel: fix typo in initscript, bump release number
authorNicolas Thill <nico@openwrt.org>
Fri, 4 Jun 2010 00:39:14 +0000 (00:39 +0000)
committerNicolas Thill <nico@openwrt.org>
Fri, 4 Jun 2010 00:39:14 +0000 (00:39 +0000)
SVN-Revision: 21667

net/babel/Makefile
net/babel/files/babeld.init

index c83a6b329c976c8efa93934e31127288636df66d..b99e3d947d30b8a1393ff3980a69eca54f699afc 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=babeld
 PKG_VERSION:=1.0.1
 
 PKG_NAME:=babeld
 PKG_VERSION:=1.0.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
index dfcf700985647641cd798754b1e8e526305d3a93..c938248e923641095ee3788b6e86fcf45998ae38 100755 (executable)
@@ -20,7 +20,7 @@ append_ifname() {
        local switch="$3"
        local _name
        config_get _name "$section" "$option"
        local switch="$3"
        local _name
        config_get _name "$section" "$option"
-       [ -z "$name" ] && return 0
+       [ -z "$_name" ] && return 0
        local _uciname=`uci get -q -P /var/state network.$_name.ifname`
        append args "$switch ${_uciname:-$_name}"
 }
        local _uciname=`uci get -q -P /var/state network.$_name.ifname`
        append args "$switch ${_uciname:-$_name}"
 }