add some helper stubs for split ifupdown1-addon setups
This commit is contained in:
parent
d9fd545ad1
commit
5bf6c84464
3 changed files with 16 additions and 0 deletions
5
executor-scripts/stub/bond
Executable file
5
executor-scripts/stub/bond
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
[ -z "$IF_BOND_MEMBERS" ] && IF_BOND_MEMBERS="$IF_BOND_SLAVES"
|
||||
case "$PHASE" in
|
||||
depend) echo "$IF_BOND_MEMBERS" ;;
|
||||
esac
|
4
executor-scripts/stub/bridge
Executable file
4
executor-scripts/stub/bridge
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
case "$PHASE" in
|
||||
depend) echo "$IF_BRIDGE_PORTS" ;;
|
||||
esac
|
7
executor-scripts/stub/vlan
Executable file
7
executor-scripts/stub/vlan
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
case "$PHASE" in
|
||||
depend)
|
||||
RAW_DEVICE="${IFACE%.*}"
|
||||
echo "$RAW_DEVICE"
|
||||
;;
|
||||
esac
|
Loading…
Reference in a new issue