blob: 764db62d7548eea105935f52aeef62c4f68405a6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
[Unit]
Description=Start usb mass storage gadget
After=dev-mmcblk0p1.device
[Service]
ExecStartPre=/sbin/modprobe g_zero
ExecStart=/sbin/modprobe g_mass_storage file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1
[Install]
WantedBy=basic.target
|