Files
wifipineapple-openwrt/package/network/ipv6/6relayd/files/6relayd.hotplug
Steven Barth ddd9ba8547 6relayd: reduce fallout of RA spamming a bit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-21 10:26:57 +00:00

7 lines
158 B
Bash

#!/bin/sh
/etc/init.d/6relayd enabled || exit 0
[ -n "$INTERFACE" -a "$ACTION" != "ifupdate" ] || exit 0
. /etc/init.d/6relayd
restart_affected "$INTERFACE"