ports/main/nnd-s6-services/rc/interface.br0.slave.eth0/up

7 lines
144 B
Plaintext

#!/bin/execlineb -P
s6-envdir -i /etc/s6/env/path
emptyenv -p
define MASTERIF br0
define SLAVEIF eth0
ip link set dev $SLAVEIF master $MASTERIF