Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 385643

Summary: sys-power/hibernate-script-2.0-r3 init script should change opts variable to use either extra_commands or extra_started_commands
Product: Gentoo Linux Reporter: Martin von Gagern <Martin.vGagern>
Component: [OLD] Core systemAssignee: Krzysztof Pawlik (RETIRED) <nelchael>
Status: RESOLVED FIXED    
Severity: trivial CC: mobile+disabled, mohaa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-power/hibernate-script/files/hibernate-script-2.0-init.d.patch?revision=1.1&view=markup
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 381895    
Attachments: correct the 'einfon' typo

Description Martin von Gagern 2011-10-04 17:56:59 UTC
The sys-power/hibernate-script-2.0-r3 init script uses variables deprecated by sys-apps/openrc-0.9.x. See bug #381895 for details.

 * Use of the opts variable is deprecated and will be
 * removed in the future.
 * Please use extra_commands or extra_started_commands.
 * Invalidating stale software suspend images ...        [ ok ]
Comment 1 Krzysztof Pawlik (RETIRED) gentoo-dev 2011-11-30 19:22:56 UTC
Fixed in 2.0-r4.
Comment 2 Khayyam 2012-06-07 20:07:00 UTC
Created attachment 314609 [details, diff]
correct the 'einfon' typo

The init.d script, both for 2.0-r1 and 2.0-r4, contains a typo:

+   einfon "$1"

Attatched patch corrects this, and corrects 'opts', and (and also removes approx 8 or 9 lines of whitespace present in the tuxonice script).

Shouldn't -r4 now be arch by now?

best ... khayyam
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-11 02:46:24 UTC
*** Bug 425762 has been marked as a duplicate of this bug. ***