Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 350472 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/icmptxcd.init
icmptxcd.init (text/plain), 1.19 KB, created by
Bertrand Jacquin
on 2013-06-09 01:03:08 UTC
(
hide
)
Description:
files/icmptxcd.init
Filename:
MIME Type:
Creator:
Bertrand Jacquin
Created:
2013-06-09 01:03:08 UTC
Size:
1.19 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 "${SERVER}" ] && eerror "SERVER must be set" >} > >start() { > checkconfig || return 1 > loadtun || return 1 > > ebegin "Starting icmptxcd" > start-stop-daemon \ > --start \ > --background \ > --make-pidfile \ > --exec /usr/sbin/icmptx \ > --pidfile "/run/icmptx.pid" \ > -- -c ${SERVER} > eend $? >} > >stop() { > ebegin "Stopping icmptxcd" > 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