Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212149 Details for
Bug 291651
mail-filter/sid-milter-1.0.0-r3: conf file doesn't use variable.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sid-filter.init
sid-filter (text/plain), 1.45 KB, created by
steveb
on 2009-12-05 12:31:56 UTC
(
hide
)
Description:
sid-filter.init
Filename:
MIME Type:
Creator:
steveb
Created:
2009-12-05 12:31:56 UTC
Size:
1.45 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/mail-filter/sid-milter/files/sid-filter.init,v 1.2 2009/12/05 06:49:37 mrness Exp $ > >depend() { > # need net > use dns logger net >} > >parse_opts() { > local filter_opt filter_flag= > for filter_opt in ${SID_FILTER_OPTS}; do > case "${filter_flag}" in > -u) filter_user=${filter_opt} > ;; > -P) filter_pid=${filter_opt} > ;; > esac > [ -n "${filter_user}" -a -n "${filter_pid}" ] && break > filter_flag=${filter_opt} > done > > if [ -z "${filter_user}" ]; then > filter_user=milter > SID_FILTER_OPTS="${SID_FILTER_OPTS} -u ${filter_user}" > fi > if [ -z "${filter_pid}" ]; then > filter_pid="/var/run/sid-filter.pid" > SID_FILTER_OPTS="${SID_FILTER_OPTS} -P ${filter_pid}" > fi >} > >start() { > local filter_user= filter_pid= > > parse_opts > if ! (touch ${filter_pid} && chown ${filter_user} ${filter_pid}) ; then > eerror "Failed to create pidfile" > return 1 > fi > > ebegin "Starting Sender-ID Filter" > start-stop-daemon --start --name sid-filter \ > --exec /usr/bin/sid-filter -- ${SID_FILTER_OPTS} > eend $? >} > >stop() { > local filter_user= filter_pid= SSD_OPTS= > > parse_opts > SSD_OPTS="--pidfile ${filter_pid}" > > ebegin "Stopping Sender-ID Filter" > start-stop-daemon --stop --quiet --name sid-filter ${SSD_OPTS} > eend $? > > if [ $? = 0 -a -n "${filter_pid}" -a -f "${filter_pid}" ]; then > rm ${filter_pid} 1>/dev/null 2>&1 > fi >}
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 291651
:
212147
| 212149