mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Revert "include/shell.sh: remove getvar()"
It is more widely used than I thought. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43068 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
23700aa665
commit
0cc57816cf
@ -1,3 +1,7 @@
|
||||
getvar() {
|
||||
eval "echo \"\${$1}\""
|
||||
}
|
||||
|
||||
var2file() {
|
||||
local var
|
||||
eval "var=\"\${$1}\""
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user