diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2018-12-17 14:10:26 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@gnu.org> | 2019-01-03 19:48:25 +0000 |
commit | 0c8a612535ac7320929c5f9c2fd070a5a635017c (patch) | |
tree | 86217c31d7146739cb743bf762cc740618643888 /src/mm-auth-provider-polkit.h | |
parent | 76771042045198c94e40b9f4744b847eadc8a55a (diff) | |
download | ModemManager-aleksander/inhibit.tar.gz |
mmcli,modem: new `--inhibit` action on the modem objectaleksander/inhibit
Modem device inhibition is really a manager action for which we
provide the full modem device 'uid'.
This new operation allows to perform device inhibition using the modem
object as reference, which is more handy than first looking at the
device 'uid' and then running the manager action.
$ sudo mmcli -m 0 --inhibit
successfully inhibited device with uid '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12.2'
type Ctrl+C to abort this program and remove the inhibition
^C cancelling the operation...
successfully uninhibited device with uid '/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12.2'
Diffstat (limited to 'src/mm-auth-provider-polkit.h')
0 files changed, 0 insertions, 0 deletions