Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40661 Details for
Bug 65718
init script for Firehol
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Enhancement to posted /etc/init.d/firehol
firehol (text/plain), 818 bytes, created by
Tom Kirchner
on 2004-09-28 14:03:37 UTC
(
hide
)
Description:
Enhancement to posted /etc/init.d/firehol
Filename:
MIME Type:
Creator:
Tom Kirchner
Created:
2004-09-28 14:03:37 UTC
Size:
818 bytes
patch
obsolete
>#!/sbin/runscript > >opts="start stop try status panic save" > >depend() { > before net > provide firewall >} > >checkrules() { > if [ ! -f ${FIREHOL_CONF} ]; then > eerror "Not starting FireHOL. Create ${FIREHOL_CONF}" > eerror "and fill it with some rules." > eerror "man firehol.conf for more info." > return 1 > fi >} > >start() { > checkrules || return 1 > ebegin "Starting FireHOL" > /usr/sbin/firehol start ${FIREHOL_CONF} > eend $? >} > >stop() { > ebegin "Stopping FireHOL" > /usr/sbin/firehol stop > eend $? >} > >try() { > ebegin "Trying FireHOL configuration" > /usr/sbin/firehol try > eend $? >} > >status() { > ebegin "Showing FireHOL status" > /usr/sbin/firehol status > eend $? >} > >panic() { > ebegin "FireHOL PANIC" > /usr/sbin/firehol panic > eend $? >} > >save() { > ebegin "Saving FireHOL configuration" > /usr/sbin/firehol save > 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 65718
:
40656
|
40658
|
40661
|
40720