Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 199410 Details for
Bug 279423
net-analyzer/net-snmp-5.4.2.1 revamp + add =sys-apps/lm_sensors-3* support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
snmpd.init
snmpd.init (text/plain), 954 bytes, created by
Gordon Malm (RETIRED)
on 2009-07-28 04:49:40 UTC
(
hide
)
Description:
snmpd.init
Filename:
MIME Type:
Creator:
Gordon Malm (RETIRED)
Created:
2009-07-28 04:49:40 UTC
Size:
954 bytes
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >opts="${opts} reload" > >depend() { > use logger > need net >} > >SNMPD_PIDFILE="${SNMPD_PIDFILE:-/var/run/snmpd.pid}" > >checkconfig() { > if [ ! -e /etc/snmp/snmpd.conf ] ; then > eerror "${SVCNAME} requires an /etc/snmp/snmpd.conf configuration file" > return 1 > fi >} > >start() { > checkconfig || return 1 > ebegin "Starting ${SVCNAME}" > start-stop-daemon --start --quiet --exec /usr/sbin/snmpd \ > -- -p ${SNMPD_PIDFILE} ${SNMPD_FLAGS} > eend $? >} > >stop() { > ebegin "Stopping ${SVCNAME}" > start-stop-daemon --stop --quiet --pidfile ${SNMPD_PIDFILE} > eend $? >} > >reload() { > checkconfig || return 1 > if [ ! -f ${SNMPD_PIDFILE} ]; then > eerror "Cannot reload configuration, ${SVCNAME} is not running" > eend 1 > return 1 > fi > > ebegin "Reloading ${SVCNAME} configuration" > kill -HUP $(< ${SNMPD_PIDFILE}) &>/dev/null > 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 279423
:
199404
|
199406
|
199408
| 199410 |
199411
|
199413