[Pkg-voip-commits] r5104 - in /asterisk/trunk/debian: asterisk.init changelog

paravoid at alioth.debian.org paravoid at alioth.debian.org
Tue Dec 18 21:02:36 UTC 2007


Author: paravoid
Date: Tue Dec 18 21:02:36 2007
New Revision: 5104

URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=5104
Log:
* NOT RELEASED YET
* Make the init script's detection of a running daemon to be more precise.

Modified:
    asterisk/trunk/debian/asterisk.init
    asterisk/trunk/debian/changelog

Modified: asterisk/trunk/debian/asterisk.init
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/asterisk.init?rev=5104&op=diff
==============================================================================
--- asterisk/trunk/debian/asterisk.init (original)
+++ asterisk/trunk/debian/asterisk.init Tue Dec 18 21:02:36 2007
@@ -123,7 +123,7 @@
 fi
 
 status() {
-	plist=`ps auxw | grep "$DAEMON" | grep -v grep | awk '{print $2}' | tr '\012' ' '`
+	plist==`ps ax | awk "{ if (\\$5 == \"$DAEMON\") print \\$1 }"`
 	if [ "$plist" = "" ]; then
 		echo "$DESC is stopped"
 		return 1

Modified: asterisk/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-voip/asterisk/trunk/debian/changelog?rev=5104&op=diff
==============================================================================
--- asterisk/trunk/debian/changelog (original)
+++ asterisk/trunk/debian/changelog Tue Dec 18 21:02:36 2007
@@ -1,3 +1,10 @@
+asterisk (1:1.4.15~dfsg-2) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+  * Make the init script's detection of a running daemon to be more precise.
+
+ -- Faidon Liambotis <paravoid at debian.org>  Tue, 18 Dec 2007 23:00:16 +0200
+
 asterisk (1:1.4.15~dfsg-1) unstable; urgency=low
 
   * New upstream release (Closes: #452054)




More information about the Pkg-voip-commits mailing list