projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6f851
)
allow numbers in webif scripts (#619)
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 22 Aug 2006 12:14:42 +0000
(12:14 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 22 Aug 2006 12:14:42 +0000
(12:14 +0000)
SVN-Revision: 4625
openwrt/package/webif/files/usr/lib/webif/webif.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/webif/files/usr/lib/webif/webif.sh
b/openwrt/package/webif/files/usr/lib/webif/webif.sh
index 919dcdfd36faee2d8b08ac05c627f012a8589d83..210bd870571b9e48402d93eb1d6a480e9e5284bb 100644
(file)
--- a/
openwrt/package/webif/files/usr/lib/webif/webif.sh
+++ b/
openwrt/package/webif/files/usr/lib/webif/webif.sh
@@
-38,7
+38,7
@@
categories() {
subcategories() {
grep -H "##WEBIF:name:$1:" $cgidir/*.sh 2>/dev/null | \
- sed -e 's,^.*/\([a-zA-Z\.\-]*\):\(.*\)$,\2:\1,' | \
+ sed -e 's,^.*/\([a-zA-Z
0-9_
\.\-]*\):\(.*\)$,\2:\1,' | \
sort -n | \
awk -v "selected=$2" \
-v "rootdir=$rootdir" \