summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-05-08 17:07:56 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-05-08 17:07:56 +0000
commit1aefc9369e4ed98aed4b1344f8dcde2b0a76eb05 (patch)
tree5505d9f167cd02b8115a46ecd76e6e4b06976bd6
parent78341629c4a2f13eeff799361308dd12f9b7044d (diff)
restructure broke 1.1 support; fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 1cf97e380..4e96ad77c 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 () (