projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert "iproute2: use tc package variant to limit other package sizes"
[openwrt/openwrt.git]
/
include
/
shell.sh
1
getvar
() {
2
eval
"echo
\"
\
${$1}
\"
"
3
}
4
5
var2file
() {
6
local
var
7
eval
"var=
\"
\
${$1}
\"
"
8
if
[
-n
"
$var
"
];
then
echo
"
$var
"
>
"
$2
"
;
fi
9
}
10
11
isset
() {
12
local
var
13
eval
"var=
\"
\
${$1}
\"
"
14
[
-n
"
$var
"
]
15
}