10 lines
185 B
Bash
10 lines
185 B
Bash
#!/bin/sh
|
|
|
|
case "$ACTION"
|
|
in
|
|
ifup)
|
|
echo 1 > /sys/devices/virtual/net/br-client/bridge/multicast_snooping
|
|
echo 2 > /sys/devices/virtual/net/br-client/bridge/multicast_router
|
|
;;
|
|
esac
|