summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/cni-plugins/files/cni-dhcp.initd')
-rw-r--r--net-misc/cni-plugins/files/cni-dhcp.initd20
1 files changed, 0 insertions, 20 deletions
diff --git a/net-misc/cni-plugins/files/cni-dhcp.initd b/net-misc/cni-plugins/files/cni-dhcp.initd
deleted file mode 100644
index 26b838c516bd..000000000000
--- a/net-misc/cni-plugins/files/cni-dhcp.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-
-name="CNI-DHCP"
-description="virtual dhcp server for containers"
-command="/opt/cni/bin/dhcp"
-command_args="daemon"
-command_background=true
-pidfile="/run/${RC_SVCNAME}.pid"
-
-depend() {
- need net
-}
-
-stop_post() {
- if [ -e /run/cni/dhcp.sock ]; then
- ebegin "Cleaning socket for ${name}"
- rm -f /run/cni/dhcp.sock
- eend $? "Failed to cleanup socket"
- fi
-}