Package: gpm
Version: 1.20.4-3.3
tag 434747 patch
--- Please enter the report below this line. ---

Patch included to add the --oknodo flags to the start and stop commands of gpm init script.



--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-5-amd64

Debian Release: squeeze/sid
  900 testing         ftp.debian.org
  850 unstable        ftp.debian.org
  800 stable          www.debian-multimedia.org
  800 stable          security.debian.org
  800 stable          ftp.debian.org
  700 experimental    ftp.debian.org

--- Package information. ---
Depends             (Version) | Installed
=============================-+-=============
libc6                (>= 2.7) | 2.11.2-7
libgpm2           (>= 1.20.4) | 1.20.4-3.3
debconf             (>= 0.5)  | 1.5.36
 OR debconf-2.0               |
dpkg             (>= 1.15.4)  | 1.15.8.5
 OR install-info              | 4.13a.dfsg.1-6
debianutils          (>= 1.7) | 3.4
ucf                 (>= 0.28) | 3.0025+nmu1
lsb-base                      | 3.2-23.1


Package's Recommends field is empty.

Package's Suggests field is empty.



--- gpm.original	2010-12-20 21:55:27.000000000 +0000
+++ /etc/init.d/gpm	2011-01-01 20:44:11.000000000 +0000
@@ -65,7 +65,7 @@
     if :< ${device-/dev/mouse}; then break; fi
     sleep 1
   done
-  eval start-stop-daemon --start --quiet --nicelevel $niceness --exec $GPM \
+  eval start-stop-daemon --oknodo --start --quiet --nicelevel $niceness --exec $GPM \
     -- $cmdln
   log_end_msg $?
   return $?
@@ -73,7 +73,8 @@
 
 gpm_stop () {
   log_daemon_msg "Stopping mouse interface server" "gpm"
-  $GPM -k
+  eval start-stop-daemon --oknodo --stop --quiet --exec $GPM \
+    -- $cmdln
   log_end_msg $?
   return $?
 }

Reply via email to