openwrt/package/network/ipv6/6relayd/files/6relayd.hotplug

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"