From f637ea27ae6e978702a024e6bd56c5583e626eee Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 3 Aug 2009 18:30:07 +0000 Subject: contrib/package: allow pipe signs for service descriptions in olsrd init script --- contrib/package/olsrd-luci/files/etc/init.d/olsrd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/package') diff --git a/contrib/package/olsrd-luci/files/etc/init.d/olsrd b/contrib/package/olsrd-luci/files/etc/init.d/olsrd index 9072faebd..875800e75 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 } -- cgit v1.2.3