aboutsummaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2004-05-08 17:07:56 +0000
committerMike Baker <mbm@openwrt.org>2004-05-08 17:07:56 +0000
commit463e66169e5241c47f8a514bea2e6497c0736195 (patch)
tree5505d9f167cd02b8115a46ecd76e6e4b06976bd6 /root
parent3048e348ab08907e1b4aed47952baa6c0dab4c00 (diff)
downloadupstream-463e66169e5241c47f8a514bea2e6497c0736195.tar.gz
upstream-463e66169e5241c47f8a514bea2e6497c0736195.tar.bz2
upstream-463e66169e5241c47f8a514bea2e6497c0736195.zip
restructure broke 1.1 support; fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root')
-rwxr-xr-xroot/etc/functions.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/root/etc/functions.sh b/root/etc/functions.sh
index 1cf97e380a2..4e96ad77ca2 100755
--- 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 () (