summaryrefslogtreecommitdiff
path: root/examples/shell
diff options
context:
space:
mode:
authorJiří Klimeš <jklimes@redhat.com>2012-08-24 09:48:19 +0200
committerJiří Klimeš <jklimes@redhat.com>2012-08-24 09:48:19 +0200
commit3fe99e7ebf9c4b75807037b9095c0fa25991d052 (patch)
treebda3e06cd865a3ed56a77b4602f6fd97ade873f7 /examples/shell
parentb39804ae6b978b84b6a5369fd1e10498bdadf37f (diff)
downloadNetworkManager-3fe99e7ebf9c4b75807037b9095c0fa25991d052.tar.gz
examples: update examples for new device types
Diffstat (limited to 'examples/shell')
-rwxr-xr-xexamples/shell/list-devices.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/shell/list-devices.sh b/examples/shell/list-devices.sh
index e7b4d306fe..4cf9c59919 100755
--- a/examples/shell/list-devices.sh
+++ b/examples/shell/list-devices.sh
@@ -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.
#
#
@@ -35,11 +35,15 @@ devtype_to_name()
{
case $1 in
1) echo "Ethernet" ;;
- 2) echo "WiFi" ;;
+ 2) echo "Wi-Fi" ;;
5) echo "Bluetooth" ;;
6) echo "OLPC" ;;
7) echo "WiMAX" ;;
8) echo "Modem" ;;
+ 9) echo "InfiniBand" ;;
+ 10) echo "Bond" ;;
+ 11) echo "VLAN" ;;
+ 12) echo "ADSL" ;;
*) echo "Unknown" ;;
esac
}