diff options
| author | Michael Biebl <biebl@debian.org> | 2013-02-03 14:49:22 +0100 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2013-02-03 14:49:22 +0100 |
| commit | 9c202e3e860b3be9e1f8882630b69affbb130102 (patch) | |
| tree | 8202bf39f2129486971fa7d5ae0dee61a561aa53 /examples/ruby/list-devices.rb | |
| parent | 36cb2f364a821e1be50b23e03a18891ec55adb06 (diff) | |
Imported Upstream version 0.9.7.995 upstream/0.9.7.995
Diffstat (limited to 'examples/ruby/list-devices.rb')
| -rwxr-xr-x | examples/ruby/list-devices.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/ruby/list-devices.rb b/examples/ruby/list-devices.rb index 5831a126..a3bf90f5 100755 --- a/examples/ruby/list-devices.rb +++ b/examples/ruby/list-devices.rb @@ -16,7 +16,7 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. # -# Copyright (C) 2011 Red Hat, Inc. +# Copyright (C) 2011 - 2012 Red Hat, Inc. # require 'dbus' @@ -26,11 +26,15 @@ require 'dbus' # devtypes = { 1 => "Ethernet", - 2 => "WiFi", + 2 => "Wi-Fi", 5 => "Bluetooth", 6 => "OLPC", 7 => "WiMAX", - 8 => "Modem" } + 8 => "Modem", + 9 => "InfiniBand", + 10 => "Bond", + 11 => "VLAN", + 12 => "ADSL" } states = { 0 => "Unknown", 10 => "Unmanaged", |