diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-08-28 20:17:06 -0500 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-09-22 16:14:58 -0300 |
commit | 90cdef590d9a809d8aaa379d7b7af0a7be21669a (patch) | |
tree | 58687b5da505377ea94028d9e6498061dafcf932 /pcr/openrc-net/dhcrelay.init3 | |
parent | 34e667f817febcd3589e20b9d0dcb8cbf6c95fd7 (diff) |
openrc-net-20150828-1: updating version
Diffstat (limited to 'pcr/openrc-net/dhcrelay.init3')
-rw-r--r-- | pcr/openrc-net/dhcrelay.init3 | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/pcr/openrc-net/dhcrelay.init3 b/pcr/openrc-net/dhcrelay.init3 deleted file mode 100644 index fe4ec8c6d..000000000 --- a/pcr/openrc-net/dhcrelay.init3 +++ /dev/null @@ -1,34 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcrelay.init3,v 1.3 2012/11/11 21:42:02 vapier Exp $ - -depend() { - need net - use logger #@slapd@ -} - -start() { - if [ -z "${DHCRELAY_SERVERS}" ] ; then - eerror "No DHCRELAY_SERVERS specified in /etc/conf.d/${SVCNAME}" - return 1 - fi - - checkpath -d /var/run/dhcp - - local iface_opts - if [ -n "${IFACE}" ] ; then - iface_opts=$(printf -- '-i %s ' ${IFACE}) - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --exec /usr/sbin/dhcrelay \ - -- -q ${iface_opts} ${DHCRELAY_OPTS} ${DHCRELAY_SERVERS} - eend $? -} - -stop() { - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --pidfile /var/run/dhcp/${SVCNAME}.pid - eend $? -} |