summaryrefslogtreecommitdiffhomepage
path: root/contrib
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-03 18:30:07 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-03 18:30:07 +0000
commitf637ea27ae6e978702a024e6bd56c5583e626eee (patch)
tree25ecb7153900038c20fff856711b250ed41df02d /contrib
parent86cd67ebc31d8777b3e128f72c1133ea7c777439 (diff)
contrib/package: allow pipe signs for service descriptions in olsrd init script
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/package/olsrd-luci/files/etc/init.d/olsrd2
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
}