contrib/package: allow pipe signs for service descriptions in olsrd init script
This commit is contained in:
parent
86cd67ebc3
commit
f637ea27ae
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,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