diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-03 18:30:07 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-03 18:30:07 +0000 |
commit | f637ea27ae6e978702a024e6bd56c5583e626eee (patch) | |
tree | 25ecb7153900038c20fff856711b250ed41df02d /contrib | |
parent | 86cd67ebc31d8777b3e128f72c1133ea7c777439 (diff) |
contrib/package: allow pipe signs for service descriptions in olsrd init script
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/package/olsrd-luci/files/etc/init.d/olsrd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/olsrd-luci/files/etc/init.d/olsrd b/contrib/package/olsrd-luci/files/etc/init.d/olsrd index 9072faebd6..875800e75c 100755 --- a/contrib/package/olsrd-luci/files/etc/init.d/olsrd +++ b/contrib/package/olsrd-luci/files/etc/init.d/olsrd @@ -30,7 +30,7 @@ validate_ifname() { 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 } |