summaryrefslogtreecommitdiffstats
path: root/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service')
-rw-r--r--meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service
new file mode 100644
index 00000000..1f4ac688
--- /dev/null
+++ b/meta-ti-extras/recipes-ti/beagleboard/gadget-init/udhcpd.service
@@ -0,0 +1,12 @@
1[Unit]
2Description=DHCP server for USB0 network gadget
3After=dev-usb0.device
4Conflicts=storage-gadget-init.service
5
6[Service]
7ExecStart=/usr/sbin/udhcpd -f -S /etc/udhcpd.conf
8ExecStop=/bin/kill -TERM $MAINPID
9KillSignal=SIGINT
10
11[Install]
12WantedBy=gether.target