From: mbm Date: Sat, 8 May 2004 17:07:56 +0000 (+0000) Subject: restructure broke 1.1 support; fixed X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/1aefc9369e4ed98aed4b1344f8dcde2b0a76eb05 restructure broke 1.1 support; fixed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 () (