[Pkg-sysvinit-commits] r179 - sysvinit/trunk/debian/initscripts/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Mon Nov 21 11:31:19 UTC 2005


Author: jdthood-guest
Date: 2005-11-21 11:31:18 +0000 (Mon, 21 Nov 2005)
New Revision: 179

Modified:
   sysvinit/trunk/debian/initscripts/etc/init.d/halt
Log:
Remove old Miquel version comment ; fix indentation

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/halt
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/halt	2005-11-21 11:28:39 UTC (rev 178)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/halt	2005-11-21 11:31:18 UTC (rev 179)
@@ -10,9 +10,6 @@
 # Short-Description: Execute the halt command.
 # Description:
 ### END INIT INFO
-#
-# Version:      @(#)halt  2.85-22  19-Jun-2004  miquels at cistron.nl
-#
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 . /lib/lsb/init-functions
@@ -24,15 +21,15 @@
 	if [ "$INIT_HALT" = "" ]
 	then
 		case "$HALT" in
-			[Pp]*)
-				INIT_HALT=POWEROFF
-				;;
-			[Hh]*)
-				INIT_HALT=HALT
-				;;
-			*)
-				INIT_HALT=POWEROFF
-				;;
+		  [Pp]*)
+			INIT_HALT=POWEROFF
+			;;
+		  [Hh]*)
+			INIT_HALT=HALT
+			;;
+		  *)
+			INIT_HALT=POWEROFF
+			;;
 		esac
 	fi
 
@@ -61,19 +58,19 @@
 }
 
 case "$1" in
-    start)
-        ;;
-    restart|reload|force-reload)
-        echo "Error: argument '$1' not supported" >&2
-        exit 3
-        ;;
-    stop)
-        do_stop
-        ;;
-    *)
-        echo "Usage: $0 start|stop" >&2
-        exit 3
-        ;;
+  start)
+	;;
+  restart|reload|force-reload)
+	echo "Error: argument '$1' not supported" >&2
+	exit 3
+	;;
+  stop)
+	do_stop
+	;;
+  *)
+	echo "Usage: $0 start|stop" >&2
+	exit 3
+	;;
 esac
 
 : exit 0




More information about the Pkg-sysvinit-commits mailing list