Adjust with support for NCM gadget, generalize FunctionFS functionality, and disabling rescue mode. USB Moded modes contain: - Tethering mode script - Developer mode script - umtprd daemon for MTP mode Co-authored-by: Clayton Craft <craftyguy@postmarketos.org> Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6531>
11 lines
159 B
Plaintext
11 lines
159 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name=usb-moded
|
|
description="usb-moded USB gadget controller"
|
|
command="/usr/sbin/usb_moded"
|
|
command_background=yes
|
|
|
|
depend() {
|
|
need dbus
|
|
}
|