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

7 lines
131 B
Bash

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