projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
86cd67e
)
contrib/package: allow pipe signs for service descriptions in olsrd init script
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 3 Aug 2009 18:30:07 +0000
(18:30 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 3 Aug 2009 18:30:07 +0000
(18:30 +0000)
contrib/package/olsrd-luci/files/etc/init.d/olsrd
patch
|
blob
|
history
diff --git
a/contrib/package/olsrd-luci/files/etc/init.d/olsrd
b/contrib/package/olsrd-luci/files/etc/init.d/olsrd
index 9072faebd66bb70862d57ee98090c9cdee4f44bc..875800e75c432ea19d579ae025dd0d53b005843e 100755
(executable)
--- 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
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
}
return 0
}