debian/0000755000000000000000000000000011405403400007155 5ustar debian/README.Debian0000644000000000000000000000063511334013661011231 0ustar sysrqd for Debian ----------------- To set up your password: echo "mypassword" > /etc/sysrqd.secret && chmod 0600 /etc/sysrqd.secret Then, you will be able to telnet to port 4094/tcp. % telnet localhost 4094 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. sysrqd password: hello sysrq> s sysrq> u sysrq> q -- Julien Danjou , Mon, 29 Aug 2005 17:26:14 +0200 debian/rules0000755000000000000000000000003511334014075010242 0ustar #!/usr/bin/make -f %: dh $@ debian/changelog0000644000000000000000000000440511405403267011045 0ustar sysrqd (14-1) unstable; urgency=low * New upstream release -- Julien Danjou Mon, 14 Jun 2010 12:38:22 +0200 sysrqd (13-1) unstable; urgency=low * New upstream release * Switch to dh 7 * Switch to source format 3.0 * Bump standard version * Add --oknodo to start-stop-daemon when stopping (Closes: #535804) -- Julien Danjou Mon, 08 Feb 2010 15:02:10 +0100 sysrqd (12-1) unstable; urgency=low * New upstream release -- Julien Danjou Mon, 19 Oct 2009 14:05:41 +0200 sysrqd (11-1) unstable; urgency=low * New upstream release * Bump standard version * Add missing runlevel in init.d script -- Julien Danjou Mon, 19 Oct 2009 11:36:25 +0200 sysrqd (10-1) unstable; urgency=low * New upstream release * Bump standard version * Fix copyright file: add version and copyright statement -- Julien Danjou Thu, 12 Feb 2009 12:11:56 +0100 sysrqd (9-2) unstable; urgency=low * Add LSB section to init.d script (Closes: #458489) * Don't ignore make clean errors in debian/rules * Bump standard version * Switch to dh_compat 5 * Remove useless dir usr/bin -- Julien Danjou Tue, 01 Jan 2008 14:31:47 +0100 sysrqd (9-1) unstable; urgency=low * New upstream release. -- Julien Danjou Fri, 19 Jan 2007 16:40:43 +0100 sysrqd (8-1) unstable; urgency=low * New upstrem release. -- Julien Danjou Tue, 11 Jul 2006 11:49:23 +0200 sysrqd (6-1) unstable; urgency=low * New upstream release - Fix error with pidfile (Closes: #367489) * Port number is now 880, and documented in README.Debian (Closes: #367492) * Fix init.d script (Closes: #367490) * Bump standards version -- Julien Danjou Tue, 16 May 2006 15:20:15 +0200 sysrqd (5-1) unstable; urgency=low * New upstream release -- Julien Danjou Mon, 1 May 2006 12:00:32 +0200 sysrqd (4-1) unstable; urgency=low * New upstream release * Change init.d script, now it can be stopped -- Julien Danjou Sun, 30 Apr 2006 22:12:25 +0200 sysrqd (3-1) unstable; urgency=low * Initial release (Closes: #361271) -- Julien Danjou Wed, 12 Apr 2006 15:45:15 +0200 debian/source/0000755000000000000000000000000011334014023010455 5ustar debian/source/format0000644000000000000000000000001411334014023011663 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211334014255010362 0ustar 7 debian/init.d0000644000000000000000000000236611334014360010300 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: sysrqd # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 ### END INIT INFO # # sysrqd init script - Julien Danjou # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/sbin/sysrqd NAME=sysrqd DESC="sysrq daemon" SECRET=/etc/sysrqd.secret test -x $DAEMON || exit 0 test -f $SECRET || exit 0 # Include sysrqd defaults if available if [ -f /etc/default/sysrqd ] ; then . /etc/default/sysrqd fi set -e case "$1" in start) echo -n "Starting $DESC: " start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; stop) echo -n "Stopping $DESC: " start-stop-daemon --stop --oknodo --quiet --pidfile /var/run/$NAME.pid \ --exec $DAEMON echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " start-stop-daemon --stop --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS echo "$NAME." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/docs0000644000000000000000000000000711334013661010034 0ustar README debian/copyright0000644000000000000000000000202011334013661011111 0ustar This package was debianized by Julien Danjou on Mon, 29 Aug 2005 17:26:14 +0200. It was downloaded from http://julien.danjou.info/sysrqd.html Copyright Holder: (C) 2005-2009 Julien Danjou License: This software is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/dirs0000644000000000000000000000001111334013661010040 0ustar usr/sbin debian/control0000644000000000000000000000104311334014106010560 0ustar Source: sysrqd Section: admin Priority: optional Maintainer: Julien Danjou Build-Depends: debhelper (>= 7.0.0) Standards-Version: 3.8.4 Package: sysrqd Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: small daemon intended to manage Linux SysRq over network Permits to execute usual SysRq commands by network, like: sync, umount, reboot, poweroff, sak, term, etc. . Its philosophy is to be very responsive under heavy load and try to be somehow reliable. Authentication is made by clear password.