blob: b06dac309a5445110775f1f06f28b128fb0eb606 [file] [log] [blame]
#!/usr/bin/python
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import dbus
import mm
devices = mm.EnumerateDevices()
for manager, path in devices:
print path
modem = manager.Modem(path)
modem.Enable(True)