Revision b57ecc88
Added by Scott Ullrich over 19 years ago
etc/inc/interfaces.inc | ||
---|---|---|
664 | 664 |
if ($wlcfg['mode'] == hostap) |
665 | 665 |
mwexec("$hostapd -B {$g['varetc_path']}/hostapd_{$if}.conf"); |
666 | 666 |
} |
667 |
|
|
668 |
/* Write ifconfig settings to tmp file so we can see if user set something weird */ |
|
669 |
// $ifcargs = ("$standard $channel $ssid $stationname $hostapmode $adhocmode $hidessid $pureg $apbridge $turbo $wme $wepset"); |
|
670 |
// $fd = fopen("{$g['tmp_path']}/ifconfig_wireless", "w"); |
|
671 |
// fwrite($fd, "/sbin/ifconfig {$ifcargs}"); |
|
672 |
// fclose($fd); |
|
673 |
|
|
674 |
/* Write wep crap out */ |
|
675 |
// $fd = fopen("{$g['tmp_path']}/ifconfig_wep", "w"); |
|
676 |
// fwrite($fd, "sbin/ifconfig {$wepset}"); |
|
677 |
// fclose($fd); |
|
678 | 667 |
|
679 | 668 |
if(isset($wlcfg['useolsr'])) |
680 | 669 |
setup_wireless_olsr($if); |
Also available in: Unified diff
Remove commented out code while here.