summaryrefslogtreecommitdiff
path: root/packages/atd
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2006-01-13 11:54:10 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-01-13 11:54:10 +0000
commit521712bf0f39ca56b86de85ed5766190433ea057 (patch)
treea2152acd7499b9e7d1e7aa0be72d9c33318f5cf3 /packages/atd
parentdad88ce8d56414d2bf244ae9fef0b3372709b746 (diff)
atd: Updated patch to turn on pidfile generation.
Diffstat (limited to 'packages/atd')
-rw-r--r--packages/atd/atd_0.70.bb4
-rw-r--r--packages/atd/files/atd-startup.patch39
2 files changed, 41 insertions, 2 deletions
diff --git a/packages/atd/atd_0.70.bb b/packages/atd/atd_0.70.bb
index 5ba524b916..9862fac0dd 100644
--- a/packages/atd/atd_0.70.bb
+++ b/packages/atd/atd_0.70.bb
@@ -4,10 +4,10 @@ LICENSE = "GPLV2"
RCONFLICTS = "at"
RREPLACES = "at"
-PR = "r3"
+PR = "r4"
SRC_URI = "${HANDHELDS_CVS};module=apps/atd;tag=ATD-0_70 \
- file://no-oknodo.patch;patch=1"
+ file://atd-startup.patch;patch=1;pnum=0"
S = "${WORKDIR}/atd"
inherit update-rc.d
diff --git a/packages/atd/files/atd-startup.patch b/packages/atd/files/atd-startup.patch
new file mode 100644
index 0000000000..dc4c1195d1
--- /dev/null
+++ b/packages/atd/files/atd-startup.patch
@@ -0,0 +1,39 @@
+? atd-startup.patch
+Index: ChangeLog
+===================================================================
+RCS file: /cvs/apps/atd/ChangeLog,v
+retrieving revision 1.2
+diff -B -b -u -r1.2 ChangeLog
+--- ChangeLog 2 Feb 2004 15:30:39 -0000 1.2
++++ ChangeLog 13 Jan 2006 11:54:00 -0000
+@@ -1,3 +1,8 @@
++2006-01-13 Florian Boor <florian@kernelconcepts.de>
++
++ * dist/etc/init.d/atd: Remove obsolete --oknodo and add -m to
++ enable pidfile.
++
+ V0.7
+ - removed waiting for childpid after having spawned an event
+ this caused trouble with events rescheduling themselves
+Index: dist/etc/init.d/atd
+===================================================================
+RCS file: /cvs/apps/atd/dist/etc/init.d/atd,v
+retrieving revision 1.3
+diff -B -b -u -r1.3 atd
+--- dist/etc/init.d/atd 24 Jan 2003 15:09:03 -0000 1.3
++++ dist/etc/init.d/atd 13 Jan 2006 11:54:00 -0000
+@@ -11,12 +11,12 @@
+ echo -n "Starting at daemon: atd"
+ mkdir -p /var/spool/at
+ chmod a+w /var/spool/at
+- start-stop-daemon --start --quiet --pidfile /var/run/atd.pid --exec /usr/sbin/atd /var/spool/at >/dev/null 2>&1 &
++ start-stop-daemon --start --quiet -m --pidfile /var/run/atd.pid --exec /usr/sbin/atd /var/spool/at >/dev/null 2>&1 &
+ echo "."
+ ;;
+ stop)
+ echo -n "Stopping at daemon: atd"
+- start-stop-daemon --stop --quiet --oknodo --pidfile /var/run/atd.pid --exec /usr/sbin/atd
++ start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid --exec /usr/sbin/atd
+ rm -f /var/spool/at/trigger
+ echo "."
+ ;;