services: Include USB_ModeSwitch in %desktop-services.

Fixes <https://bugs.gnu.org/35640>.

* gnu/services/desktop.scm (%desktop-services): Add usb-modeswitch-service-type.
* doc/guix.texi (Networking Services): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Florian Pelz 2019-06-12 11:16:57 +02:00 committed by Ludovic Courtès
parent f5be51040c
commit 7dbeb5a791
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 4 additions and 0 deletions

View File

@ -12681,6 +12681,9 @@ themselves as a read-only storage medium and not as a modem. They need to be
@dfn{modeswitched} before they are usable. The USB_ModeSwitch service type @dfn{modeswitched} before they are usable. The USB_ModeSwitch service type
installs udev rules to automatically modeswitch these devices when they are installs udev rules to automatically modeswitch these devices when they are
plugged in. plugged in.
This service is part of @code{%desktop-services} (@pxref{Desktop
Services}).
@end defvr @end defvr
@deftp {Data Type} usb-modeswitch-configuration @deftp {Data Type} usb-modeswitch-configuration

View File

@ -1067,6 +1067,7 @@ dispatches events from it.")))
profile-service-type profile-service-type
(list network-manager-applet)) (list network-manager-applet))
(service modem-manager-service-type) (service modem-manager-service-type)
(service usb-modeswitch-service-type)
;; The D-Bus clique. ;; The D-Bus clique.
(service avahi-service-type) (service avahi-service-type)