Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 322806 Details for
Bug 178546
>=net-firewall/fwknop-2.6.1 is a system for doing single packet auth
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
fwknopd init script
fwknopd.init (text/plain), 1.44 KB, created by
Coacher
on 2012-09-03 05:47:24 UTC
(
hide
)
Description:
fwknopd init script
Filename:
MIME Type:
Creator:
Coacher
Created:
2012-09-03 05:47:24 UTC
Size:
1.44 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-20012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >extra_commands="checkconfig" >extra_started_commands="reload" > >depend() { > need net > use logger iptables >} > >FWKNOP_CONFDIR=${FWKNOP_CONFDIR:-/etc/fwknop} >FWKNOP_PIDFILE=${FWKNOP_PIDFILE:-/var/run/${SVCNAME}/${SVCNAME}.pid} >FWKNOP_BINARY=${FWKNOP_BINARY:-/usr/sbin/fwknopd} > >checkconfig() { > if [ ! -e "${FWKNOP_CONFDIR}"/fwknopd.conf ] ; then > eerror "You need an ${FWKNOP_CONFDIR}/fwknopd.conf file to run ${SVCNAME}" > eerror "There is a sample file in ${FWKNOP_CONFDIR}/fwknopd.conf.example" > return 1 > fi > > if [ ! -e "${FWKNOP_CONFDIR}"/access.conf ] ; then > eerror "You need an ${FWKNOP_CONFDIR}/access.conf file to run ${SVCNAME}" > eerror "There is a sample file in ${FWKNOP_CONFDIR}/access.conf.example" > return 1 > fi >} > >start() { > checkconfig || return 1 > > ebegin "Starting ${SVCNAME}" > start-stop-daemon --start --exec "${FWKNOP_BINARY}" \ > --pidfile "${FWKNOP_PIDFILE}" \ > -- ${FWKNOP_OPTS} > eend $? >} > >stop() { > if [ "${RC_CMD}" = "restart" ] ; then > checkconfig || return 1 > fi > > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --stop --exec "${FWKNOP_BINARY}" \ > --pidfile "${FWKNOP_PIDFILE}" --quiet > eend $? >} > >reload() { > checkconfig || return 1 > ebegin "Reloading ${SVCNAME}" > start-stop-daemon --exec "${FWKNOP_BINARY}" \ > --pidfile "${FWKNOP_PIDFILE}" \ > -- -R > 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 178546
:
209741
|
226159
|
226177
|
322804
|
322806
|
322808
|
335058
|
335062
|
335066
|
354354
|
354356
|
354358
|
354360
|
354362
|
354366