]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
dhcp: Add systemd file for dhclient.
authorStefan Schantl <stefan.schantl@ipfire.org>
Fri, 27 Apr 2012 18:41:22 +0000 (20:41 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Fri, 27 Apr 2012 19:05:55 +0000 (21:05 +0200)
dhcp/dhcp.nm
dhcp/systemd/dhclient@.service [new file with mode: 0644]

index 507891a9e9bb7d7915ef0b221deb2cebfd304f06..246ad17a1ec53f3fe028e8da4591de7729a4455a 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = dhcp
 version    = 4.2.2
-release    = 1
+release    = 2
 
 groups     = Networking/Daemons
 url        = http://isc.org/products/DHCP/
diff --git a/dhcp/systemd/dhclient@.service b/dhcp/systemd/dhclient@.service
new file mode 100644 (file)
index 0000000..c3afc93
--- /dev/null
@@ -0,0 +1,17 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU General Public License as published by
+#  the Free Software Foundation; either version 2 of the License, or
+#  (at your option) any later version.
+
+[Unit]
+Description=dhclient on %I
+BindTo=dev-%I.device
+After=dev-%I.device network.service
+Requires=network.service
+
+[Service]
+ExecStart=/usr/sbin/dhclient %I
+UtmpIdentifier=%I
+KillMode=process