diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2015-03-10 16:21:19 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-03-10 16:26:24 +0100 |
commit | 5ee8851ace245058551885dddb23a3820f6c2bea (patch) | |
tree | 8f1a7bcbcb0345e2724756dcf57b482ac6060a91 /recipes-core/usb-rndis/files/tegra/usb-rndis-udhcpd.service | |
parent | 0891eabdad215a5504b96cf3af0ba0abd7c358e6 (diff) |
usb-rndis: fix various issues with dhcpd service for RNDIS
- Make sure leases file is not persistent (in /var/run now)
This allows to serve the same IP to the generated (and hence
different IP addresses)
- Start RNDIS service after the network.target
- Tegra: Add extra service for udhcpd. When running dhcpd directly
from udev, the daemon will be killed after a while
Diffstat (limited to 'recipes-core/usb-rndis/files/tegra/usb-rndis-udhcpd.service')
-rw-r--r-- | recipes-core/usb-rndis/files/tegra/usb-rndis-udhcpd.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-core/usb-rndis/files/tegra/usb-rndis-udhcpd.service b/recipes-core/usb-rndis/files/tegra/usb-rndis-udhcpd.service new file mode 100644 index 0000000..3762198 --- /dev/null +++ b/recipes-core/usb-rndis/files/tegra/usb-rndis-udhcpd.service @@ -0,0 +1,9 @@ +[Unit] +Description=dhcp deamon for rndis NIC, meant to be started from udev rule + +[Service] +ExecStart=/usr/sbin/udhcpd -fS /etc/udhcpd-usb-rndis.conf + +[Install] +WantedBy=multi-user.target + |