summaryrefslogtreecommitdiffstats
path: root/recipes-ti/beagleboard/gadget-init/storage-gadget-init.service
blob: 2fe48e15ee71f6f6e3fa23892aa22ad2294f4933 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=Start usb mass storage gadget
After=dev-mmcblk0p1.device

[Service]
ExecStart=/sbin/modprobe g_mass_storage file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1

[Install]
WantedBy=basic.target