[Pkg-fglrx-devel] r899 - fglrx-driver/trunk/debian

Patrick Matthäi pmatthaei at alioth.debian.org
Sat May 19 08:49:43 UTC 2012


Author: pmatthaei
Date: 2012-05-19 08:49:43 +0000 (Sat, 19 May 2012)
New Revision: 899

Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/fglrx-atieventsd.init
Log:
* Add patch from Alex Opie to use LSB log functions in fglrx-atieventsd init.
  Closes: #673393


Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2012-05-19 08:46:45 UTC (rev 898)
+++ fglrx-driver/trunk/debian/changelog	2012-05-19 08:49:43 UTC (rev 899)
@@ -7,6 +7,8 @@
       Closes: #672519
     - Support for Xserver 1.12 added.
       Closes: #671320
+  * Add patch from Alex Opie to use LSB log functions in fglrx-atieventsd init.
+    Closes: #673393
 
  -- Patrick Matthäi <pmatthaei at debian.org>  Sat, 19 May 2012 10:29:53 +0200
 

Modified: fglrx-driver/trunk/debian/fglrx-atieventsd.init
===================================================================
--- fglrx-driver/trunk/debian/fglrx-atieventsd.init	2012-05-19 08:46:45 UTC (rev 898)
+++ fglrx-driver/trunk/debian/fglrx-atieventsd.init	2012-05-19 08:49:43 UTC (rev 899)
@@ -29,6 +29,7 @@
 DAEMONPATH=/usr/sbin/atieventsd
 DAEMONNAME=atieventsd
 DAEMONOPTS=""
+DESC="AMD events daemon"
 
 # Check for default file of atieventsd.
 if [ -f /etc/default/fglrx-atieventsd ] ; then
@@ -48,16 +49,16 @@
 			log_warning_msg "Not starting atieventsd, it is disabled in /etc/default/fglrx-atieventsd"
 			exit 0
 		fi
-        echo -n "Starting $DAEMONNAME: "
+        log_daemon_msg "Starting $DESC" "$DAEMONNAME"
         start-stop-daemon --start --name $DAEMONNAME --oknodo \
-            --exec $DAEMONPATH -- $DAEMONOPTS
-        echo "done."
+            --quiet --exec $DAEMONPATH -- $DAEMONOPTS
+	log_end_msg $?
         ;;
 
     stop)
-        echo -n "Stopping $DAEMONNAME: "
-        start-stop-daemon --stop --exec $DAEMONPATH --oknodo
-        echo "done."
+        log_daemon_msg "Stopping $DESC" "$DAEMONNAME"
+        start-stop-daemon --quiet --stop --exec $DAEMONPATH --oknodo
+	log_end_msg $?
         ;;
 
     restart|force-reload)




More information about the Pkg-fglrx-devel mailing list