From 5663a937238ce60e3ec4341c92393bfa0c1c1d20 Mon Sep 17 00:00:00 2001 From: Tuomo Tanskanen Date: Tue, 2 Mar 2010 09:30:45 +0200 Subject: [PATCH] fix device reboot if nowplayingd misbehaves --- debian/changelog | 9 ++++++--- debian/postinst | 2 +- scripts/99nowplayingd | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 1a0801e..44e9f5b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,11 @@ -nowplayingd (0.1-3) fremantle; urgency=low +nowplayingd (0.2-1) fremantle; urgency=low - * Added bugtracker + * Added bugtracker (mailto me) + * Fix postinst/99nowplayingd to use dsmetool -f, which does NOT reboot + device if nowplayingd for some reason goes to segfault loop. Now + it just silently stops trying to respawn it. - -- Tuomo Tanskanen Mon, 01 Mar 2010 14:20:59 +0200 + -- Tuomo Tanskanen Tue, 02 Mar 2010 09:28:51 +0200 nowplayingd (0.1-2) fremantle; urgency=low diff --git a/debian/postinst b/debian/postinst index fe98d6c..a659219 100644 --- a/debian/postinst +++ b/debian/postinst @@ -2,7 +2,7 @@ DAEMON=/usr/bin/nowplayingd DSMETOOL=/usr/sbin/dsmetool -DSMETOOL_PARAMETERS="-t" +DSMETOOL_PARAMETERS="-f" if [ -x $DAEMON ]; then echo "Starting nowplayingd..." diff --git a/scripts/99nowplayingd b/scripts/99nowplayingd index b833d8a..d4a20b3 100644 --- a/scripts/99nowplayingd +++ b/scripts/99nowplayingd @@ -2,6 +2,6 @@ DAEMON=/usr/bin/nowplayingd DSMETOOL=/usr/sbin/dsmetool -DSMETOOL_PARAMETERS="-t" +DSMETOOL_PARAMETERS="-f" $DSMETOOL $DSMETOOL_PARAMETERS $DAEMON -- 1.7.9.5