Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82535 Details for
Bug 125727
app-antivirus/avgfree-7.1.24 (NEW EBUILD)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/avgd (init.d daemon script)
avgd (text/plain), 1.09 KB, created by
Peter Hyman
on 2006-03-19 03:54:00 UTC
(
hide
)
Description:
files/avgd (init.d daemon script)
Filename:
MIME Type:
Creator:
Peter Hyman
Created:
2006-03-19 03:54:00 UTC
Size:
1.09 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >depend() { > need net > use dazuko >} > >checkconfig() { > if [ ! -f /etc/avg.conf ] ; then > eerror "Could not find /etc/avg.conf!" > return 1 > fi > > DAZMOD=`/sbin/lsmod | grep dazuko` > DAZDEV="/dev/dazuko" > > if [ -z "${DAZMOD}" ] ; then > eerror "Dazuko module is not loaded. Please load." > return 1 > fi > if [ ! -e "${DAZDEV}" ] ; then > eerror "Dazuko device file does not exist, please mknod /dev/dazuko c 254 0." > return 1 > fi > > return 0 >} > >start() { > checkconfig || return $? > > ebegin "Starting avgd" > start-stop-daemon --start --exec /opt/grisoft/avg7/bin/avgscan -- -d > eend $? "Failed to start avgd" > touch /var/lock/subsys/avgd >} > >stop() { > # this is problematic since avgd puts the wrong pid in the avgd.pgrp file > # must kill the process by executable. It works at least :( > # pid = real pid - 1? > ebegin "Stopping avgd" > start-stop-daemon --stop --exec /opt/grisoft/avg7/bin/avgscan > eend $? "Failed to stop avgd" > rm -f /var/lock/subsys/avgd > rm -f /var/run/avgd.pgrp >} >
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 125727
:
81851
|
81852
|
81853
|
81865
|
81930
|
81933
|
81947
|
82008
|
82022
|
82527
| 82535 |
86026
|
147674