diff options
Diffstat (limited to 'package/network/ipv6/6relayd/files/6relayd.init')
-rw-r--r-- | package/network/ipv6/6relayd/files/6relayd.init | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/package/network/ipv6/6relayd/files/6relayd.init b/package/network/ipv6/6relayd/files/6relayd.init index f1c100b2e5..8c50336d0c 100644 --- a/package/network/ipv6/6relayd/files/6relayd.init +++ b/package/network/ipv6/6relayd/files/6relayd.init @@ -64,12 +64,7 @@ start_6relayd() { [ $always_rewrite_dns -eq 1 ] && append args "-n" # In server mode the first interface needs to be passed twice - [ "$mode" == "server" ] && { - for iface in $ifaces; do - ifaces="$iface $ifaces" - break - done - } + [ "$mode" == "server" ] && ifaces=". $ifaces" service_start /usr/sbin/6relayd $args $ifaces } |