mirror of https://github.com/hak5/openwrt.git
parent
9e3e6089d5
commit
e4550a0ebc
|
@ -239,7 +239,7 @@ start_interface() {
|
||||||
config_get device "$iface" device
|
config_get device "$iface" device
|
||||||
config_get_bool enabled "$iface" enabled 1
|
config_get_bool enabled "$iface" enabled 1
|
||||||
[ -z "$device" -o 1 -ne "$enabled" ] && {
|
[ -z "$device" -o 1 -ne "$enabled" ] && {
|
||||||
echo "Interface '$iface' not found or disabled."
|
echo "Interface '$iface' not found or disabled." >&2
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
config_get upload "$iface" upload
|
config_get upload "$iface" upload
|
||||||
|
|
Loading…
Reference in New Issue