Commit feac0e1f authored by Philippe De Swert's avatar Philippe De Swert

Add udhcpd service file

Signed-off-by: default avatarPhilippe De Swert <philippe.deswert@jollamobile.com>
parent 46e84fbb
......@@ -5,6 +5,7 @@ Release: 1
License: GPLv2
Group: System/Shells
Source: http://www.busybox.net/downloads/%{name}-%{version}.tar.bz2
Source1: rpm/udhcpd.service
URL: https://github.com/mer-packages/busybox
%define debug_package %{nil}
......@@ -66,6 +67,7 @@ EOF
rm -rf %{buildroot}
mkdir -p %{buildroot}/bin
install -m 755 busybox %{buildroot}/bin/busybox
install -m 644 -D %{SOURCE1} %{buildroot}/lib/systemd/system/udhcpd.service
applets/install.sh %{buildroot} --symlinks
%files
......@@ -90,3 +92,4 @@ applets/install.sh %{buildroot} --symlinks
/sbin/udhcpc
/usr/sbin/udhcpc
/usr/sbin/udhcpd
/lib/systemd/system/udhcpd.service
[Unit]
Description=udhcpcd DHCP server
[Service]
ExecStart=/usr/sbin/udhcpd -f
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment