mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:30:16 +02:00
restructure broke 1.1 support; fixed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
78341629c4
commit
1aefc9369e
@ -1,7 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
. /etc/nvram.overrides
|
|
||||||
|
|
||||||
debug () {
|
debug () {
|
||||||
[ -z "$DEBUG" ] || echo $1
|
[ -z "$DEBUG" ] || echo $1
|
||||||
}
|
}
|
||||||
@ -10,6 +8,7 @@ debug () {
|
|||||||
nvram_get () {
|
nvram_get () {
|
||||||
eval "echo \${$1:-\$(nvram get $1)}"
|
eval "echo \${$1:-\$(nvram get $1)}"
|
||||||
}
|
}
|
||||||
|
. /etc/nvram.overrides
|
||||||
|
|
||||||
# valid interface?
|
# valid interface?
|
||||||
if_valid () (
|
if_valid () (
|
||||||
|
Loading…
Reference in New Issue
Block a user