mirror of https://github.com/hak5/openwrt-owl.git
parent
475644dd92
commit
f70e91170a
|
@ -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