Method: Bandshell::WirelessConnection#config_interface_name
- Defined in:
- lib/bandshell/netconfig.rb
#config_interface_name ⇒ Object
251 252 253 254 255 256 257 258 259 260 261 |
# File 'lib/bandshell/netconfig.rb', line 251 def config_interface_name # If the user has requested a specific interface, use it. # Otherwise, just pick the first wlan interface, assuming # it works and all wlan interfaces have approximately equal # reception. When this assumption is wrong the user must force. if @interface_name && @interface_name != '' @interface_name else self.class.interfaces[0].name end end |