gadget init: don't dump info to info.txt on boot
[glsdk/meta-ti-glsdk.git] / recipes-ti / beagleboard / gadget-init / storage-gadget-init.service
1 [Unit]
2 Description=Start usb mass storage gadget
3 After=dev-mmcblk0p1.device
5 [Service]
6 RemainAfterExit=yes
7 ExecStart=/sbin/modprobe g_mass_storage file=/dev/mmcblk0p1 cdrom=0 stall=0 removable=1 nofua=1
8 ExecStop=/sbin/rmmod g_mass_storage
10 [Install]
11 WantedBy=basic.target