Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311761 Details for
Bug 415957
net-misc/dhcp: add init.d script for IPv6 invocation of dhcrelay
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init script for ipv6 dhcrelay
dhcrelay6.init2 (text/plain), 1011 bytes, created by
Spooky Ghost
on 2012-05-14 15:18:52 UTC
(
hide
)
Description:
init script for ipv6 dhcrelay
Filename:
MIME Type:
Creator:
Spooky Ghost
Created:
2012-05-14 15:18:52 UTC
Size:
1011 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/net-misc/dhcp/files/dhcrelay.init2,v 1.2 2011/03/08 20:13:26 vapier Exp $ > >depend() { > need net > use logger >} > >start() { > if [ -z "${DHCRELAY_IFACE_LOWER}" ]; then > eerror "No DHCRELAY_IFACE_LOWER specified in /etc/conf.d/dhcrelay6" > return 1 > fi > if [ -z "${DHCRELAY_IFACE_UPPER}" ]; then > eerror "No DHCRELAY_IFACE_UPPER specified in /etc/conf.d/dhcrelay6" > return 1 > fi > > checkpath -d /var/run/dhcp > > ebegin "Starting dhcrelay6" > for i in ${DHCRELAY_IFACE_LOWER} ; do > LOWERS="${LOWERS} -l ${i}" > done > for i in ${DHCRELAY_IFACE_UPPER} ; do > UPPERS="${UPPERS} -u ${i}" > done > start-stop-daemon --start --exec /usr/sbin/dhcrelay \ > -- -q -6 ${DHCRELAY_OPTS} ${LOWERS} ${UPPERS} > eend $? >} > >stop() { > ebegin "Stopping dhcrelay6" > start-stop-daemon --stop --pidfile /var/run/dhcp/dhcrelay6.pid > eend $? >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 415957
:
311761
|
311763