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

Andreas Beckmann anbe at moszumanska.debian.org
Mon Nov 2 00:29:02 UTC 2015


Author: anbe
Date: 2015-11-02 00:29:02 +0000 (Mon, 02 Nov 2015)
New Revision: 1544

Modified:
   fglrx-driver/trunk/debian/changelog
   fglrx-driver/trunk/debian/fglrx-atieventsd.fglrx-atieventsd.init
Log:
fglrx-atieventsd.init: fix 'stop' and implement 'status'

Modified: fglrx-driver/trunk/debian/changelog
===================================================================
--- fglrx-driver/trunk/debian/changelog	2015-11-02 00:10:38 UTC (rev 1543)
+++ fglrx-driver/trunk/debian/changelog	2015-11-02 00:29:02 UTC (rev 1544)
@@ -1,6 +1,8 @@
 fglrx-driver (1:15.9-3) UNRELEASED; urgency=medium
 
   * d/rules: Move tar option --no-recursion before the list of files.
+  * fglrx-atieventsd.init: Fix 'stop' and implement 'status', thanks to
+    D. Leggett.  (Closes: #803494)
 
  -- Andreas Beckmann <anbe at debian.org>  Sat, 17 Oct 2015 18:25:41 +0200
 

Modified: fglrx-driver/trunk/debian/fglrx-atieventsd.fglrx-atieventsd.init
===================================================================
--- fglrx-driver/trunk/debian/fglrx-atieventsd.fglrx-atieventsd.init	2015-11-02 00:10:38 UTC (rev 1543)
+++ fglrx-driver/trunk/debian/fglrx-atieventsd.fglrx-atieventsd.init	2015-11-02 00:29:02 UTC (rev 1544)
@@ -50,14 +50,13 @@
 			exit 0
 		fi
         log_daemon_msg "Starting $DESC" "$DAEMONNAME"
-        start-stop-daemon --start --name $DAEMONNAME --oknodo \
-            --quiet --exec $DAEMONPATH -- $DAEMONOPTS
+        start-stop-daemon --quiet --start --name $DAEMONNAME --exec $DAEMONPATH --oknodo -- $DAEMONOPTS
 	log_end_msg $?
         ;;
 
     stop)
         log_daemon_msg "Stopping $DESC" "$DAEMONNAME"
-        start-stop-daemon --quiet --stop --exec $DAEMONPATH --oknodo
+        start-stop-daemon --quiet --stop --name $DAEMONNAME --exec $DAEMONPATH --oknodo
 	log_end_msg $?
         ;;
 
@@ -66,9 +65,11 @@
         sleep 1
         $0 start
         ;;
+
     status)
-		exit 4
-		;;
+        status_of_proc $DAEMONPATH atieventsd && exit 0 || exit $?
+        ;;
+
     *)
         echo "$0 {start|stop|restart|force-reload|status}"
         exit 3




More information about the Pkg-fglrx-devel mailing list