]> git.ipfire.org Git - thirdparty/systemd.git/commit - units/usb-gadget.target
units: add usb-gadget target
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Tue, 29 Jan 2019 10:13:44 +0000 (11:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 15 Feb 2019 17:16:27 +0000 (18:16 +0100)
commit2c633a821eb81b1ce7fcca5e23bbbe41f44be77f
tree09fc207e3fa99e5d2ad10cdfc875dbe5158ddfd4
parent791cd1599311d2cfffec9cc7d2915b36cbd3047d
units: add usb-gadget target

Linux can be run on a device meant to act as a USB peripheral. In order
for a machine to act as such a USB device it has to be equipped with
a UDC - USB Device Controller.

This patch adds a target reached when UDC becomes available. It can be used
for activating e.g. a service unit which composes a USB gadget with
configfs and activates it.
man/systemd.special.xml
rules/99-systemd.rules.in
units/usb-gadget.target [new file with mode: 0644]