projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475644d
)
restructure broke 1.1 support; fixed
author
Mike Baker
<mbm@openwrt.org>
Sat, 8 May 2004 17:07:56 +0000
(17:07 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Sat, 8 May 2004 17:07:56 +0000
(17:07 +0000)
SVN-Revision: 20
root/etc/functions.sh
patch
|
blob
|
history
diff --git
a/root/etc/functions.sh
b/root/etc/functions.sh
index 1cf97e380a22a9b026878315b83b972aa3842362..4e96ad77ca21d3bc315aee7fc4e7f3bed00907fe 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 () (