Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 314609 Details for
Bug 385643
sys-power/hibernate-script-2.0-r3 init script should change opts variable to use either extra_commands or extra_started_commands
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
correct the 'einfon' typo
hibernate-script-2.0-init.d.patch (text/plain), 988 bytes, created by
Khayyam
on 2012-06-07 20:07:00 UTC
(
hide
)
Description:
correct the 'einfon' typo
Filename:
MIME Type:
Creator:
Khayyam
Created:
2012-06-07 20:07:00 UTC
Size:
988 bytes
patch
obsolete
>--- hibernate-script-2.0.orig/init.d/hibernate-cleanup.sh 2009-04-01 04:09:28.000000000 +0200 >+++ hibernate-script-2.0/init.d/hibernate-cleanup.sh 2012-06-07 21:35:28.188083570 +0200 >@@ -1,4 +1,4 @@ >-#!/bin/sh >+#!/sbin/runscript > > # This script invalidates any stale swsusp and TuxOnIce images. It > # searches all swap partitions on your machine, as well as TuxOnIce's >@@ -77,41 +77,31 @@ > : > } > >- >- >- >- >- >- >- >- >- >- >- >- >- > msg_status() { >- echo -n "$1" >+ einfo "$1" > } > > msg() { >- echo "$1" >+ einfo "$1" >+} >+ >+extra_started_commands="reload" >+ >+depend() { >+ after modules >+ before localmount > } > >-case "$1" in >-start) >- msg_status "Invalidating stale software suspend images... " >+start() { >+ ebegin "Invalidating stale software suspend images" > do_start >- msg "done." >- ;; >-stop) >+ eend $? >+} >+ >+stop() { > do_stop >- ;; >-restart|force-reload) >- do_reload >- ;; >-*) >- msg "Usage: /etc/init.d/hibernate {start|stop|restart|force-reload}" >-esac >+} > >-exit 0 >+reload() { >+ do_reload >+}
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 385643
: 314609