Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350468 Details for
Bug 159589
net-misc/icmptx ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/icmptxd.init
icmptxd.init (text/plain), 1.21 KB, created by
Bertrand Jacquin
on 2013-06-09 01:02:23 UTC
(
hide
)
Description:
files/icmptxd.init
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2013-06-09 01:02:23 UTC
Size:
1.21 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > # If the user set TUNTAP_INTERFACE, they probably have a net script > # configuring that interface. icmptx is responsible for actually creating > # the stupid thing, so we need to run before the config. > if [ ! -z "${TUNTAP_INTERFACE}" ] ; then > if [ -x "/etc/init.d/net.${TUNTAP_INTERFACE}" ] ; then > before net.${TUNTAP_INTERFACE} > fi > fi >} > >loadtun() { > if [ ! -e /dev/net/tun ] ; then > ebegin "Loading TUN/TAP kernel module" > modprobe -q tun > eend $? > fi > > if [ ! -e /dev/net/tun ] ; then > eend 1 "Failed to load TUN driver! (did you compile your kernel with TUN/TAP support?)" > return 1 > fi > > return 0 >} > >checkconfig() { > [ -z "${BIND_ADDRESS}" ] && eerror "BIND_ADDRESS must be set" >} > >start() { > checkconfig || return 1 > loadtun || return 1 > > ebegin "Starting icmptxd" > start-stop-daemon \ > --start \ > --background \ > --make-pidfile \ > --exec /usr/sbin/icmptx \ > --pidfile "/run/icmptx.pid" \ > -- -s ${BIND_ADDRESS} > eend $? >} > >stop() { > ebegin "Stopping icmptxd" > start-stop-daemon \ > --stop \ > --exec /usr/sbin/icmptx \ > --pidfile "/run/icmptx.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 159589
:
105060
|
350464
|
350466
| 350468 |
350470
|
350472
|
350474