From: Stefan Schantl Date: Thu, 20 May 2021 17:50:01 +0000 (+0200) Subject: network-functions.pl: Use new system methods X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19fa9fb95621939bf7a0daef56ec737fa30819f3;p=people%2Fstevee%2Fipfire-2.x.git network-functions.pl: Use new system methods Signed-off-by: Stefan Schantl --- diff --git a/config/cfgroot/network-functions.pl b/config/cfgroot/network-functions.pl index 2f704dfbfe..b7a840559c 100644 --- a/config/cfgroot/network-functions.pl +++ b/config/cfgroot/network-functions.pl @@ -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};