openwrt/package/network/ipv6/6relayd/files/6relayd.hotplug
Steven Barth fde5b934fd 6relayd: Rewrite init-script logic
SVN-Revision: 35133
2013-01-13 17:25:38 +00:00

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"