X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/78341629c4a2f13eeff799361308dd12f9b7044d..91317132859300a8719eecafece9b3db9c7a7f6f:/root/etc/functions.sh 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 () (