mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-13 04:22:58 +02:00
network-functions.pl: Use new system methods
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
17ee1f135f
commit
f3e3cb371d
@@ -360,7 +360,7 @@ sub _get_wireless_status($) {
|
||||
my $intf = shift;
|
||||
|
||||
if (!$wireless_status{$intf}) {
|
||||
$wireless_status{$intf} = `iwconfig $intf`;
|
||||
$wireless_status{$intf} = &General::system_output("iwconfig", "$intf");
|
||||
}
|
||||
|
||||
return $wireless_status{$intf};
|
||||
|
||||
Reference in New Issue
Block a user