Merge pull request #109 from westbywest/for-14.07

[olsrd] adapt init script for 0.6.8 (PingCmd option)
This commit is contained in:
Bastian Bittorf 2015-07-03 19:59:51 +02:00
commit 932b4ec738
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ validate_varname() {
validate_olsrd_option() {
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
}