Summary: | sys-power/powernowd - Use of the opts variable | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Barker <alex> |
Component: | Current packages | Assignee: | Mobile Herd (OBSOLETE) <mobile+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381895 | ||
Attachments: | powernowd.initd |
Description
Alex Barker
2012-07-17 19:00:11 UTC
Created attachment 318484 [details]
powernowd.initd
Comment on attachment 318484 [details]
powernowd.initd
--- files/powernowd.initd 2009-10-16 23:00:55.000000000 +0200
+++ - 2012-07-18 18:41:58.587001406 +0200
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/files/powernowd.initd,v 1.1 2009/10/16 21:00:55 bangert Exp $
-opts="reload"
+extra_started_commands="reload"
depend() {
need localmount
`reload' doesn't seem to do anything for me. Why not throw it out entirely? Index: files/powernowd.initd =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-power/powernowd/files/powernowd.initd,v retrieving revision 1.1 diff -u -B -r1.1 powernowd.initd --- files/powernowd.initd 16 Oct 2009 21:00:55 -0000 1.1 +++ files/powernowd.initd 9 Oct 2012 20:27:39 -0000 @@ -3,8 +3,6 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-power/powernowd/files/powernowd.initd,v 1.1 2009/10/16 21:00:55 bangert Exp $ -opts="reload" - depend() { need localmount use logger @@ -21,9 +19,3 @@ start-stop-daemon --stop --exec /usr/sbin/powernowd eend $? } - -reload() { - ebegin "Reloading powernowd" - start-stop-daemon --stop --oknodo --exec /usr/sbin/powernowd --signal HUP - eend $? -} Fixed in files/powernowd.initd (for both 1.00 and 1.00-r1). |