mirror of
https://github.com/samba-team/samba.git
synced 2025-03-26 18:50:30 +03:00
events/10.interface: we need to mark interfaces as "up" if we don't know how to monitor them
metze (This used to be ctdb commit 1e08d1578d1960fcfc5fdd85492fbd6d194e5e94)
This commit is contained in:
parent
c5de7cfb8c
commit
794230775c
@ -78,9 +78,17 @@ monitor_interfaces()
|
||||
case $IFACE in
|
||||
lo*)
|
||||
# loopback is always working
|
||||
test -n "$OLDLINK" && {
|
||||
ok=1 # we only set ok for interfaces known to ctdbd
|
||||
ctdb setifacelink $IFACE up
|
||||
}
|
||||
;;
|
||||
ib*)
|
||||
# we dont know how to test ib links
|
||||
test -n "$OLDLINK" && {
|
||||
ok=1 # we only set ok for interfaces known to ctdbd
|
||||
ctdb setifacelink $IFACE up
|
||||
}
|
||||
;;
|
||||
*)
|
||||
[ -z "$IFACE" ] || {
|
||||
|
Loading…
x
Reference in New Issue
Block a user