Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124755 - sys-power/nvram-wakeup: init.d for automatic wakeup
Summary: sys-power/nvram-wakeup: init.d for automatic wakeup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-03 01:58 UTC by georg.lippold
Modified: 2020-11-23 06:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the tar'ed init scripts /etc/powerup and /etc/init.d/powerup (powerup.tgz,1.34 KB, application/octet-stream)
2006-03-03 01:59 UTC, georg.lippold
Details
new init-script (powerup,2.44 KB, text/plain)
2006-03-03 14:34 UTC, georg.lippold
Details
init-script with modified copyleft (powerup,2.42 KB, text/plain)
2010-09-12 08:15 UTC, georg.lippold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description georg.lippold 2006-03-03 01:58:43 UTC
I added an init script for nvram-wakeup so that it powers on my computer each weekday on a different time.
Comment 1 georg.lippold 2006-03-03 01:59:28 UTC
Created attachment 81185 [details]
the tar'ed init scripts /etc/powerup and /etc/init.d/powerup
Comment 2 georg.lippold 2006-03-03 14:34:12 UTC
Created attachment 81240 [details]
new init-script

Found out that if you want the server to wake up later the same day with the conffile, that it takes the next day instead of the same day. Fixed that.
Comment 3 SpanKY gentoo-dev 2006-03-03 18:09:46 UTC
Stefan: you seem to be knowledgeable when it comes to this package, feel like adding yourself as maintainer and taking this bug ? ;)
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2006-03-03 19:04:29 UTC
ok, I check this later tomorrow. But in general it looks good to me... (both, the maintainership and the init-script). ;-)
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-12-07 07:33:50 UTC
sbriesen: you expressed interest, please take the package.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-11 22:27:05 UTC
Georg: can you please relicence your init.d script to the Gentoo Foundation, so that we can include it in the main tree.
Comment 7 georg.lippold 2010-09-11 23:13:53 UTC
Stefan, I don't understand why there are licensing problems. It's GPL version 2, so you should be able to include it in any Linux distribution, and you can modify it under the terms of the license. Please explain what is missing for inclusion in Gentoo.

Thanks,

Georg
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-12 07:33:16 UTC
You have this header on the script:
# Gentoo users: add this script to 'boot' run level.
# ==================================================
#
# Copyright (c) by Georg Lippold <georg.lippold@gmx.de>
plus the limited GPL text.

We require this:
# Copyright 1999-$YEAR Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header$

GPL actually does not permit us to change that, per clause 1. Basically it becomes the responsibility of the Gentoo Foundation should we have to pursue any GPL infringements.
Comment 9 georg.lippold 2010-09-12 08:15:15 UTC
Created attachment 246946 [details]
init-script with modified copyleft

Here you go...
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-12 08:31:28 UTC
I'll be dropping your copyright line there entirely, along with the rest of the GPL blurb.

Also, why are the start and stop blocks identical? I'll factor them out to a common function.
Comment 11 Larry the Git Cow gentoo-dev 2020-10-24 15:26:19 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42b0b2e547f3649cbbe17b12cefb470fd167cc17

commit 42b0b2e547f3649cbbe17b12cefb470fd167cc17
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-24 15:26:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-24 15:26:07 +0000

    package.mask: Last rite sys-power/nvram-wakeup
    
    Bug: https://bugs.gentoo.org/124755
    Bug: https://bugs.gentoo.org/713472
    Bug: https://bugs.gentoo.org/726020
    Bug: https://bugs.gentoo.org/740912
    Bug: https://bugs.gentoo.org/742434
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2020-11-22 14:54:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a59c270a9b0a7d45d25b7541d88c2753d078033

commit 1a59c270a9b0a7d45d25b7541d88c2753d078033
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 14:54:06 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 14:54:06 +0000

    sys-power/nvram-wakeup: Remove last-rited package
    
    Closes: https://bugs.gentoo.org/124755
    Closes: https://bugs.gentoo.org/713472
    Closes: https://bugs.gentoo.org/726020
    Closes: https://bugs.gentoo.org/740912
    Closes: https://bugs.gentoo.org/742434
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask                              |  6 --
 sys-power/nvram-wakeup/Manifest                    |  1 -
 .../files/nvram-wakeup-0.97-nonls.patch            | 18 ------
 sys-power/nvram-wakeup/metadata.xml                | 11 ----
 sys-power/nvram-wakeup/nvram-wakeup-1.1.ebuild     | 73 ----------------------
 5 files changed, 109 deletions(-)
Comment 13 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2020-11-23 06:06:28 UTC
Users:
If you're looking for a maintained replacement for nvram-wakeup, on non-EFI systems, you should look at busybox rtcwake.

The same caveats as nvram-wakeup apply: the code interacts directly with the NVRAM/CMOS state.