[Lunar-commits] <moonbase-core> Merge pull request #48 from Florin65/dhcpcd

Auke Kok sofar+github at foo-projects.org
Mon Jul 30 06:25:34 CEST 2012


commit ac9396a6a54672721db9cddd5e316cec474bcc12
Author: Auke Kok <sofar+github at foo-projects.org>
Date: Sun, 29 Jul 2012 21:25:34 -0700
URL: https://github.com/lunar-linux/moonbase-core/commit/ac9396a6a54672721db9cddd5e316cec474bcc12

Merge pull request #48 from Florin65/dhcpcd

dhcpcd: add the needed dhcpcd at .service file for systemd.
---
  net/dhcpcd/BUILD                                             +2/-2     
  net/dhcpcd/systemd.d/dhcpcd at .service                         +13/-0    
  2 files changed, 0 insertions (+), 0 deletions (-)

--- a/net/dhcpcd/BUILD
+++ b/net/dhcpcd/BUILD
@@ -1,8 +1,8 @@
 (
 
-  export PREFIX=/usr  &&
+  export PREFIX=/usr      &&
   export SYSCONFDIR=/etc  &&
-  export CSTD=gnu99  &&
+  export CSTD=gnu99       &&
 
   default_build
 
--- /dev/null
+++ b/net/dhcpcd/systemd.d/dhcpcd at .service
@@ -0,0 +1,13 @@
+[Unit]
+Description=dhcpcd on %I
+Wants=network.target
+Before=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/dhcpcd-%I.pid
+ExecStart=/usr/sbin/dhcpcd -A -q -w %I
+ExecStop=/usr/sbin/dhcpcd -k %I
+
+[Install]
+Alias=multi-user.target.wants/dhcpcd at eth0.service




More information about the Lunar-commits mailing list