[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

my watchdog package



Hi,

I just learned that I managed to not send an email to you guys when I
uploaded a new version of watchdog fixing the bug the caused its removal
from sarge and another small one. 

So here we go. The patch between 5.2.4-2 and 5.2.4-3 is attached, so you
can review it. 

Hopefully you can put watchdog back into sarge now.

Thanks a lot in advance.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!
diff -ruN tmp/watchdog-5.2.4/debian/changelog watchdog-5.2.4/debian/changelog
--- tmp/watchdog-5.2.4/debian/changelog	2005-05-17 16:45:56.000000000 +0200
+++ watchdog-5.2.4/debian/changelog	2005-05-17 16:46:07.000000000 +0200
@@ -1,3 +1,10 @@
+watchdog (5.2.4-3) unstable; urgency=medium
+
+  * Changed startup priority to 89, closes: #300432
+  * Added path to init script, closes: #259277
+    
+ -- Michael Meskes <meskes@debian.org>  Sun,  8 May 2005 12:48:38 +0200
+     
 watchdog (5.2.4-2) unstable; urgency=low
 
   * Updated manpages closes: #289386
diff -ruN tmp/watchdog-5.2.4/debian/init watchdog-5.2.4/debian/init
--- tmp/watchdog-5.2.4/debian/init	2005-05-17 16:45:56.000000000 +0200
+++ watchdog-5.2.4/debian/init	2005-05-17 16:46:07.000000000 +0200
@@ -1,6 +1,8 @@
 #!/bin/sh
 #/etc/init.d/watchdog: start watchdog daemon.
 
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
+
 test -x /usr/sbin/watchdog || exit 0
 
 # Set run_watchdog to 1 to start watchdog or 0 to disable it.
diff -ruN tmp/watchdog-5.2.4/debian/postinst watchdog-5.2.4/debian/postinst
--- tmp/watchdog-5.2.4/debian/postinst	2005-05-17 16:45:56.000000000 +0200
+++ watchdog-5.2.4/debian/postinst	2005-05-17 16:46:07.000000000 +0200
@@ -85,8 +85,18 @@
     fi
 fi
 
+#
+# remove old links
+#
+if dpkg --compare-versions "$2" lt 5.2.4-3
+then
+	if [ -L /etc/rc2.d/S10watchdog ]; then
+		update-rc.d -f watchdog remove
+	fi
+fi
+
 # Not automatically added by dh_installinit (--noscripts)
-update-rc.d watchdog defaults 10 80 >/dev/null
+update-rc.d watchdog defaults 89 11 >/dev/null
 
 #DEBHELPER#
 

Reply to: