openwrt_archive/package/6relayd/files/6relayd.hotplug
Steven Barth e2f4e88a7a AA: backport 6relayd from trunk
SVN-Revision: 36711
2013-05-24 13:03:55 +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"