/[gentoo-x86]/net-misc/dhcp/files/dhcrelay.init2
Gentoo

Diff of /net-misc/dhcp/files/dhcrelay.init2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1#!/sbin/runscript 1#!/sbin/runscript
2# Copyright 1999-2011 Gentoo Foundation 2# Copyright 1999-2011 Gentoo Foundation
3# Distributed under the terms of the GNU General Public License v2 3# Distributed under the terms of the GNU General Public License v2
4# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/Attic/dhcrelay.init2,v 1.1 2011/03/05 23:59:20 vapier Exp $ 4# $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/Attic/dhcrelay.init2,v 1.2 2011/03/08 20:13:26 vapier Exp $
5 5
6depend() { 6depend() {
7 need net 7 need net
8 use logger 8 use logger
9} 9}
16 16
17 checkpath -d /var/run/dhcp 17 checkpath -d /var/run/dhcp
18 18
19 ebegin "Starting dhcrelay" 19 ebegin "Starting dhcrelay"
20 start-stop-daemon --start --exec /usr/sbin/dhcrelay \ 20 start-stop-daemon --start --exec /usr/sbin/dhcrelay \
21 -- -q $(printf -- '-i %s ' ${IFACES}) ${DHCRELAY_OPTS} ${DHCRELAY_SERVERS} 21 -- -q $(printf -- '-i %s ' ${IFACE}) ${DHCRELAY_OPTS} ${DHCRELAY_SERVERS}
22 eend $? 22 eend $?
23} 23}
24 24
25stop() { 25stop() {
26 ebegin "Stopping dhcrelay" 26 ebegin "Stopping dhcrelay"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20