mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Write out ifconfig to /var/tmp/ifconfig_wireless for debugging
This commit is contained in:
parent
785cde57e3
commit
dc9514046f
@ -374,6 +374,10 @@ function interfaces_wireless_configure($if, $wlcfg) {
|
||||
|
||||
mwexec("/sbin/ifconfig " . $ifcargs);
|
||||
|
||||
$fd = fopen("{$g['tmp_path']}/ifconfig_wireless", "w");
|
||||
fwrite($fd, "/sbin/ifconfig {$ifcargs}");
|
||||
fclose($fd);
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user