aboutsummaryrefslogtreecommitdiff
path: root/bridge/init/bridge-dhcp
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-20 22:05:39 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-20 22:14:29 +0200
commit0a4fccef3c0d934cc820e2720c46297414f057f8 (patch)
tree99d0d0ebf99d1f844c761bafe5fcf996fe77e1d0 /bridge/init/bridge-dhcp
downloadmulticonfig-0a4fccef3c0d934cc820e2720c46297414f057f8.tar.gz
multiconfig-0a4fccef3c0d934cc820e2720c46297414f057f8.tar.bz2
multiconfig-0a4fccef3c0d934cc820e2720c46297414f057f8.zip
Initial commitv0.1
Diffstat (limited to 'bridge/init/bridge-dhcp')
-rw-r--r--bridge/init/bridge-dhcp13
1 files changed, 13 insertions, 0 deletions
diff --git a/bridge/init/bridge-dhcp b/bridge/init/bridge-dhcp
new file mode 100644
index 0000000..6bbb43f
--- /dev/null
+++ b/bridge/init/bridge-dhcp
@@ -0,0 +1,13 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Bridge dhcp daemon"
+command="/usr/sbin/dhcpd"
+pidfile="/run/syncthing.pid"
+command_args="-4 -pf $pidfile -cf /etc/dhcp/bridge_dhcpd.conf bridge"
+
+depend() {
+ need bridge
+ use logger
+}