blob: e1bf153b8c245e1e11cbd34d17c8d33e7d875369 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
tag:
priority: 310 # before real devices that redirect
type: txt
help: Set input functional block (IFB) interface
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 ] || /sbin/modprobe ifb numifbs=0
create: ip link add $VAR(@) type ifb && sudo ip link set $VAR(@) up
delete: ip link delete dev $VAR(@)
|