From 8b8f104d15414843e2adef03c221436c1e7c84dc Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 27 Apr 2006 17:09:22 +0000 Subject: Update OLSR to only call setup_wireless_olsr() once now that it sets up all interfaecs in one shot. --- usr/local/pkg/olsrd.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'usr/local/pkg') diff --git a/usr/local/pkg/olsrd.xml b/usr/local/pkg/olsrd.xml index 067bbb6..0e01cf6 100644 --- a/usr/local/pkg/olsrd.xml +++ b/usr/local/pkg/olsrd.xml @@ -121,12 +121,7 @@ $fd = fopen("/usr/local/etc/olsrkey.txt","w"); fwrite($fd, $_POST['securekey']); fclose($fd); - foreach($_POST['interface_array'] as $iface) { - $if = convert_friendly_interface_to_real_interface_name($iface); - if($if) { - setup_wireless_olsr($if); - } - } + setup_wireless_olsr($if); conf_mount_ro(); -- cgit v1.1