]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - dhcp/systemd/dhclient@.service
dhcp: Add systemd file for dhclient.
[people/ms/ipfire-3.x.git] / dhcp / systemd / dhclient@.service
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