From b57ecc8827e3023a9e54850f1eb8525f817834b3 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 13 Nov 2005 00:09:25 +0000 Subject: Remove commented out code while here. --- etc/inc/interfaces.inc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 96e39f6..6d1d981 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -664,17 +664,6 @@ EOD; if ($wlcfg['mode'] == hostap) mwexec("$hostapd -B {$g['varetc_path']}/hostapd_{$if}.conf"); } - - /* Write ifconfig settings to tmp file so we can see if user set something weird */ -// $ifcargs = ("$standard $channel $ssid $stationname $hostapmode $adhocmode $hidessid $pureg $apbridge $turbo $wme $wepset"); -// $fd = fopen("{$g['tmp_path']}/ifconfig_wireless", "w"); -// fwrite($fd, "/sbin/ifconfig {$ifcargs}"); -// fclose($fd); - - /* Write wep crap out */ -// $fd = fopen("{$g['tmp_path']}/ifconfig_wep", "w"); -// fwrite($fd, "sbin/ifconfig {$wepset}"); -// fclose($fd); if(isset($wlcfg['useolsr'])) setup_wireless_olsr($if); -- cgit v1.1