I added an init script for nvram-wakeup so that it powers on my computer each weekday on a different time.
Created attachment 81185 [details] the tar'ed init scripts /etc/powerup and /etc/init.d/powerup
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.
Stefan: you seem to be knowledgeable when it comes to this package, feel like adding yourself as maintainer and taking this bug ? ;)
ok, I check this later tomorrow. But in general it looks good to me... (both, the maintainership and the init-script). ;-)
sbriesen: you expressed interest, please take the package.
Georg: can you please relicence your init.d script to the Gentoo Foundation, so that we can include it in the main tree.
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
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.
Created attachment 246946 [details] init-script with modified copyleft Here you go...
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.
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(+)
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(-)
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.