Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 293357 Details for
Bug 388671
net-analyzer/net-snmp-5.4.3: opts to extra_commands transition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
switch to extra_started_commands, use s-s-d for reload
snmpd.patch (text/plain), 771 bytes, created by
Michael Palimaka (kensington)
on 2011-11-21 20:18:34 UTC
(
hide
)
Description:
switch to extra_started_commands, use s-s-d for reload
Filename:
MIME Type:
Creator:
Michael Palimaka (kensington)
Created:
2011-11-21 20:18:34 UTC
Size:
771 bytes
patch
obsolete
>--- snmpd.init >+++ snmpd.init >@@ -1,9 +1,9 @@ > #!/sbin/runscript >-# Copyright 1999-2009 Gentoo Foundation >+# Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-analyzer/net-snmp/files/snmpd.init,v 1.1 2009/10/16 08:51:05 gengor Exp $ > >-opts="${opts} reload" >+extra_started_commands="reload" > > depend() { > use logger >@@ -35,13 +35,8 @@ > > 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 >+ start-stop-daemon --signal HUP --pidfile ${SNMPD_PIDFILE} > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 388671
:
291017
| 293357