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

8 lines
173 B
Plaintext

#!/bin/execlineb -P
define INTERFACE br0
define PROP mcast_snooping
define STATE 0
s6-envdir -i /etc/s6/env/path
emptyenv -p
ip link set $INTERFACE type bridge $PROP $STATE