sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e582e7b0862d7f6b9610bb0628019aab2dd79690)
- From: Vlad Glagolev <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e582e7b0862d7f6b9610bb0628019aab2dd79690)
- Date: Wed, 13 May 2009 20:18:45 -0500
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
utils/cronie/HISTORY | 4 ++++
utils/cronie/PRE_BUILD | 4 ++++
utils/cronie/reboot.patch | 11 +++++++++++
3 files changed, 19 insertions(+)
New commits:
commit e582e7b0862d7f6b9610bb0628019aab2dd79690
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
cronie: fixed bug for @reboot alias
diff --git a/utils/cronie/HISTORY b/utils/cronie/HISTORY
index 8639ba8..79fd712 100644
--- a/utils/cronie/HISTORY
+++ b/utils/cronie/HISTORY
@@ -1,3 +1,7 @@
+2009-05-14 Vlad Glagolev <stealth AT sourcemage.org>
+ * PRE_BUILD: apply patch to make @reboot actually work
+ * reboot.patch: added
+
2009-05-02 Andraž "ruskie" Levstik <ruskie+f03a580f AT codemages.net>
* init.d/crond: made it non-sh, bug #13702
diff --git a/utils/cronie/PRE_BUILD b/utils/cronie/PRE_BUILD
new file mode 100755
index 0000000..e049157
--- /dev/null
+++ b/utils/cronie/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/reboot.patch"
diff --git a/utils/cronie/reboot.patch b/utils/cronie/reboot.patch
new file mode 100644
index 0000000..9bca79d
--- /dev/null
+++ b/utils/cronie/reboot.patch
@@ -0,0 +1,11 @@
+--- src/cron.c.orig 2009-04-23 13:24:27.000000000 +0400
++++ src/cron.c 2009-05-14 05:01:15.925392269 +0400
+@@ -399,7 +399,7 @@
+ pid_t pid = getpid();
+
+ /* lock exist - skip reboot jobs */
+- if (access(REBOOT_LOCK, F_OK)) {
++ if (access(REBOOT_LOCK, F_OK) == 0) {
+ log_it("CRON", pid, "INFO", "@reboot jobs will be run at
computer's startup.", 0);
+ return;
+ }
- [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e582e7b0862d7f6b9610bb0628019aab2dd79690), Vlad Glagolev, 05/13/2009
Archive powered by MHonArc 2.6.24.