mirror of
https://git.baguette.netlib.re/Baguette/networkctl
synced 2024-12-18 13:03:30 +00:00
fixes wireless interfaces check
This commit is contained in:
parent
553cd0a986
commit
1c806d4874
@ -261,11 +261,11 @@ class InterfaceConfiguration
|
||||
|
||||
# TODO: treat differently wireless and non-wireless interfaces
|
||||
if @wireless_networks.empty?
|
||||
puts "interface #{name} is not wireless"
|
||||
else
|
||||
puts "interface #{name} is wireless: connection to the access point"
|
||||
store_access_point_keys
|
||||
access_point_connection
|
||||
else
|
||||
puts "interface #{name} is not wireless"
|
||||
end
|
||||
|
||||
# ipv4 configuration
|
||||
|
Loading…
Reference in New Issue
Block a user