Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 40658 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]
Place as /etc/init.d/firehol
fireholinit (text/plain), 666 bytes, created by
Eric R. Stoeckel, Jr.
on 2004-09-28 13:11:23 UTC
(
hide
)
Description:
Place as /etc/init.d/firehol
Filename:
MIME Type:
Creator:
Eric R. Stoeckel, Jr.
Created:
2004-09-28 13:11:23 UTC
Size:
666 bytes
patch
obsolete
>#!/sbin/runscript > >opts="start try stop restart" > >depend() { > need iptables >} > >checkrules() { > if [ ! -f ${FIREHOL_CONF} ] > then > eerror "Not starting FireHol. Create ${FIREHOL_CONF}" > eerror "nano -w ${FIREHOL_CONF}" > return 1 > fi >} > >start() { > checkrules || return 1 > ebegin "Starting Firewall" > einfo "Loading Firehol Configuration" > /usr/sbin/firehol start ${FIREHOL_CONF} > eend $? >} > >stop() { > ebegin "Stopping firewall" > /usr/sbin/firehol stop > eend $? >} > >restart() { > ebegin "Restarting Firewall" > svc_stop; > svc_start; > eend $? >} > >save() { > ebegin "Saving Firehol Configuration State" > /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