Summary: | net-firewall/sanewall - include command line options in init script and conf.d file | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | INODE64 Sistemas <web> |
Component: | [OLD] Server | Assignee: | Tim Harder <radhermit> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sanewall-initd |
Description
INODE64 Sistemas
2013-12-10 18:58:32 UTC
Created attachment 365064 [details]
sanewall-initd
Include support to include parameters before command
Comment on attachment 365064 [details]
sanewall-initd
--- files/sanewall.initd 2013-06-15 13:07:43.000000000 +0200
+++ - 2013-12-10 20:00:37.066343473 +0100
@@ -22,36 +22,36 @@
start() {
ebegin "Starting sanewall"
- /usr/sbin/sanewall ${SANEWALL_CONFIG} start >/dev/null
+ /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} start >/dev/null
eend $?
}
stop() {
ebegin "Stopping sanewall"
- /usr/sbin/sanewall stop >/dev/null
+ /usr/sbin/sanewall ${SANEWALL_OPTS} stop >/dev/null
eend $?
}
try() {
ebegin "Trying sanewall configuration"
- /usr/sbin/sanewall ${SANEWALL_CONFIG} try
+ /usr/sbin/sanewall ${SANEWALL_OPTS} ${SANEWALL_CONFIG} try
eend $?
}
status() {
ebegin "Showing sanewall status"
- /usr/sbin/sanewall status
+ /usr/sbin/sanewall ${SANEWALL_OPTS} status
eend $?
}
panic() {
ebegin "sanewall panic"
- /usr/sbin/sanewall panic
+ /usr/sbin/sanewall ${SANEWALL_OPTS} panic
eend $?
}
save() {
ebegin "Saving sanewall configuration"
- /usr/sbin/sanewall save
+ /usr/sbin/sanewall ${SANEWALL_OPTS} save
eend $?
}
Fixed in the tree. |