[packages] olsrd: allow pipe signs for service descriptions in olsr init script;...
[openwrt/svn-archive/archive.git] / net / olsrd / files / olsrd.init
index f719c45..4cc4e42 100644 (file)
@@ -26,7 +26,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
 }