1
0
This repository has been archived on 2025-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
Files
Anderson Luiz Alves 0464e230c1 stock 103961
2017-07-30 16:48:04 -03:00

21 lines
335 B
Bash
Executable File

#!/bin/sh
# Called on ip-up event on a LAN interface
# $LANID= LAN connection index
restart_igmp() {
local ok=0
local i
for i in `cat /var/bewan/igmpproxy.d/dnstreams 2>/dev/null`; do
if [ "$i" = "${LANID:-0}" ]; then
ok=1
break
fi
done
[ $ok = 0 ] && return 0
local ARG=restart
base_call_initd 'igmp'
}
restart_igmp