Package: miredo
Version: 1.1.5-2
Severity: wishlist
Tags: patch

It's sometimes very useful to have miredo not running by default, but starting
it on an as-needed basis. 

Regards,
Jakob

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages miredo depends on:
ii  adduser                       3.110      add and remove users and groups
ii  iproute                       20090324-1 networking and traffic control too
ii  libc6                         2.9-12     GNU C Library: Shared libraries
ii  libcap2                       1:2.16-5   support for getting/setting POSIX.
ii  libjudydebian1                1.0.5-1    C library for creating and accessi
ii  makedev                       2.3.1-88   creates device files in /dev
ii  udev                          0.141-1    /dev/ and hotplug management daemo

miredo recommends no packages.

miredo suggests no packages.

-- no debconf information


-- 
ceterum censeo microsoftem esse delendam.
--- /etc/init.d/miredo.orig	2008-08-16 00:00:00.000000000 +0200
+++ /etc/init.d/miredo	2009-07-24 17:59:06.000000000 +0200
@@ -69,7 +69,8 @@
 
 
 case "$1" in
-  start)
+  start|force-start)
+	[ "x$1" == "xforce-start" ] && START_MIREDO=true
 	check_start
 	check_chroot_dir
 	log_daemon_msg "Starting $DESC" "$NAME"
@@ -77,7 +78,7 @@
 		--exec "$DAEMON" --oknodo -- $DAEMON_ARGS
 	log_end_msg $?
 	;;
-  stop)
+  stop|force-stop)
 	log_daemon_msg "Stopping $DESC" "$NAME"
 	start-stop-daemon --stop --quiet --pidfile "$PIDFILE" \
 		--retry 1 --oknodo
@@ -98,7 +99,7 @@
 	$0 start
 	;;
   *)
-	echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
+	echo "Usage: $SCRIPTNAME {start|force-start|stop|force-stop|restart|reload|force-reload}" >&2
 	exit 1
 	;;
 esac

Attachment: signature.asc
Description: PGP signature

Reply via email to