restructure broke 1.1 support; fixed
authorMike Baker <mbm@openwrt.org>
Sat, 8 May 2004 17:07:56 +0000 (17:07 +0000)
committerMike Baker <mbm@openwrt.org>
Sat, 8 May 2004 17:07:56 +0000 (17:07 +0000)
SVN-Revision: 20

root/etc/functions.sh

index 1cf97e380a22a9b026878315b83b972aa3842362..4e96ad77ca21d3bc315aee7fc4e7f3bed00907fe 100755 (executable)
@@ -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 () (