blob: 8aadec8ab78cc9df7d003cdbada97dbc5e987741 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
tag:
priority: 310 # before real devices that redirect
type: txt
help: Input functional block (IFB) interface name
comp_help: Enter input functional block interface name (ifb0 - ifb999)
syntax:expression: pattern $VAR(@) "^ifb[0-9]+$" ; "name must be (ifb0-ifb999)"
begin: [ -d /sys/module/ifb ] || sudo modprobe ifb numifbs=0
create: ip link add $VAR(@) type ifb && ip link set $VAR(@) up
delete: ip link delete dev $VAR(@)
|