[packages] olsrd: allow pipe signs for service descriptions in olsr init script; bump pkg revision
git-svn-id: svn://svn.openwrt.org/openwrt/packages/net/olsrd@17106 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8e3a3fd60a
commit
5ab7c21e77
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=olsrd
|
PKG_NAME:=olsrd
|
||||||
PKG_VERSION:=0.5.6-r5
|
PKG_VERSION:=0.5.6-r5
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
|
PKG_SOURCE_URL:=http://www.olsr.org/releases/0.5
|
||||||
|
|
|
@ -26,7 +26,7 @@ validate_ifname() {
|
||||||
|
|
||||||
validate_olsrd_option() {
|
validate_olsrd_option() {
|
||||||
local str="$1"
|
local str="$1"
|
||||||
[ -z "$str" -o "$str" != "${str%%[! 0-9A-Za-z./:_-]*}" ] && return 1
|
[ -z "$str" -o "$str" != "${str%%[! 0-9A-Za-z./|:_-]*}" ] && return 1
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue