mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-24 06:29:03 +01:00
Don't assume that statistically balanced providers are optional
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f989c2f5f6
commit
bc591ccee4
@ -599,7 +599,11 @@ debug_restore_input() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
interface_enabled() {
|
interface_enabled() {
|
||||||
return $(cat ${VARDIR}/$1.status)
|
status=0
|
||||||
|
|
||||||
|
[ -f ${VARDIR}/${1}.status ] && status=$(cat ${VARDIR}/${1}.status)
|
||||||
|
|
||||||
|
return status
|
||||||
}
|
}
|
||||||
|
|
||||||
distribute_load() {
|
distribute_load() {
|
||||||
|
Loading…
Reference in New Issue
Block a user