diff options
| author | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2014-07-06 03:04:17 +0200 |
| commit | 3ce667b6ee6b86291bbe60ef93cba7f11a5c5400 (patch) | |
| tree | af3daa7221e898b72f3de26eb2cf0c1b1c8661b0 /examples/shell/list-devices.sh | |
| parent | f02d31d95af29678092d1ff01f714621bc9dcc0f (diff) | |
| parent | 33491bc4279481db8ae47213e34a6d695a0e8830 (diff) | |
Merge tag 'upstream/0.9.10.0'
Upstream version 0.9.10.0
Diffstat (limited to 'examples/shell/list-devices.sh')
| -rwxr-xr-x | examples/shell/list-devices.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/shell/list-devices.sh b/examples/shell/list-devices.sh index 4cf9c599..dba82261 100755 --- a/examples/shell/list-devices.sh +++ b/examples/shell/list-devices.sh @@ -31,6 +31,7 @@ DEVICE_IFACE="org.freedesktop.NetworkManager.Device" NM_GET_DEVICES="org.freedesktop.NetworkManager.GetDevices" DBUS_PROPERTIES_GET="org.freedesktop.DBus.Properties.Get" +# For the types see include/NetworkManager.h devtype_to_name() { case $1 in @@ -44,6 +45,9 @@ devtype_to_name() 10) echo "Bond" ;; 11) echo "VLAN" ;; 12) echo "ADSL" ;; + 13) echo "Bridge" ;; + 14) echo "Generic" ;; + 15) echo "Team" ;; *) echo "Unknown" ;; esac } |