projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
handle condition where lan_ifname is unset (nvram reset)
[openwrt.git]
/
root
/
etc
/
functions.sh
diff --git
a/root/etc/functions.sh
b/root/etc/functions.sh
index
1cf97e3
..
4e96ad7
100755
(executable)
--- a/
root/etc/functions.sh
+++ b/
root/etc/functions.sh
@@
-1,7
+1,5
@@
#!/bin/sh
-. /etc/nvram.overrides
-
debug () {
[ -z "$DEBUG" ] || echo $1
}
@@
-10,6
+8,7
@@
debug () {
nvram_get () {
eval "echo \${$1:-\$(nvram get $1)}"
}
+. /etc/nvram.overrides
# valid interface?
if_valid () (
This page took
0.025842 seconds
and
4
git commands to generate.