changeset 303:399ccb5e641b noffle

[svn] clarified init output
author godisch
date Sun, 16 Feb 2003 08:47:33 +0000
parents 4f4c233374ca
children 9bbb4c40fe62
files debian/changelog debian/init
diffstat 2 files changed, 10 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/debian/changelog	Sat Feb 15 21:34:21 2003 +0000
+++ b/debian/changelog	Sun Feb 16 08:47:33 2003 +0000
@@ -1,10 +1,11 @@
-noffle (1.1.4-1.cvs) unstable; urgency=low
+noffle (1.1.4-1.cvs20030216) unstable; urgency=low
 
-  * Merged debian/ into the upstream CVS tree, added some CVS ID tags.
+  * Clarified init output, closes: #181171.
   * Updated debian/rules, incorporated manual patches.
   * Added user mailing list address to package description.
+  * Merged debian/ into the upstream CVS tree, added some CVS ID tags.
 
- -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Fri, 14 Feb 2003 14:39:42 +0100
+ -- Martin A. Godisch <godisch@tcs.inf.tu-dresden.de>  Sun, 16 Feb 2003 09:44:44 +0100
 
 noffle (1.1.4-1) unstable; urgency=medium
 
--- a/debian/init	Sat Feb 15 21:34:21 2003 +0000
+++ b/debian/init	Sun Feb 16 08:47:33 2003 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $Id: init 434 2003-02-14 13:54:32Z godisch $
+# $Id: init 437 2003-02-16 08:47:33Z godisch $
 
 PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
@@ -14,22 +14,17 @@
 [ -x "$NOFFLE" ] || exit 0
 
 case "$1" in
+online|offline)
+	echo "Switching offline news server to $1 mode: noffle."
+	$NOFFLE --$1
+	;;
 start)
 	echo "Initializing offline news server: noffle."
 	[ "$NOFFLE_FETCHMODE" = ppp  ] && $NOFFLE --offline
 	[ "$NOFFLE_FETCHMODE" = cron ] && $NOFFLE --online
 	;;
 stop)
-	echo "Stopping offline news server: noffle."
-	$NOFFLE --offline
-	;;
-online)
-	echo "Starting offline news server: noffle."
-	$NOFFLE --online
-	;;
-offline)
-	echo "Stopping offline news server: noffle."
-	$NOFFLE --offline
+	$0 offline
 	;;
 restart|force-reload)
 	$0 start