Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162711 Details for
Bug 234393
net-analyzer/fwlogwatch - add cron script / init.d/conf.d scripts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Init daemon for realtime response mode
fwlogwatch (text/plain), 1.14 KB, created by
Bjoern Thorwirth
on 2008-08-11 21:14:00 UTC
(
hide
)
Description:
Init daemon for realtime response mode
Filename:
MIME Type:
Creator:
Bjoern Thorwirth
Created:
2008-08-11 21:14:00 UTC
Size:
1.14 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: > > >PID=/var/run/fwlogwatch.pid >source /etc/conf.d/fwlogwatch >depend() { > after net >} > > > >start() { > ebegin "Starting fwlogwatch" > if [[ -z $REALTIME_OPTIONS ]]; > then > REALTIME_OPTIONS="" > fi; > if [[ -n $TIME_TO_FORGET ]] > then > REALTIME_OPTIONS=$REALTIME_OPTIONS' -l'$TIME_TO_FORGET > fi; > if [[ -n $ALERT_THRESHOLD ]]; > then > REALTIME_OPTIONS=$REALTIME_OPTIONS' -a'$ALERT_THRESHOLD > fi; > if [[ -n $REALTIME_RESPOND=='yes' ]]; > then > REALTIME_OPTIONS=$REALTIME_OPTIONS' -B' > fi; > if [[ -n $REALTIME_NOTIFY=='yes' ]]; > then > REALTIME_OPTIONS=$REALTIME_OPTIONS' -A' > fi; > if [[ -z $CONFIG ]]; > then > logger 'fwlogwatch daemon ERROR: $CONFIG in /etc/conf.d/fwlogwatch must be set' > exit 1 > fi; > start-stop-daemon --start -m --quiet --background --pidfile $PID --exec $FWLW -- " -R $REALTIME_OPTIONS -c $CONFIG $WATCH_LOG" > eend ${?} >} > >stop() { > ebegin "Stopping fwlogwatch" > start-stop-daemon --stop --pidfile $PID > 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 234393
:
162708
|
162709
| 162711 |
162713