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

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


Author: jdthood-guest
Date: 2005-11-21 11:53:42 +0000 (Mon, 21 Nov 2005)
New Revision: 183

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

Modified: sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin
===================================================================
--- sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin	2005-11-21 11:52:31 UTC (rev 182)
+++ sysvinit/trunk/debian/initscripts/etc/init.d/rmnologin	2005-11-21 11:53:42 UTC (rev 183)
@@ -12,9 +12,6 @@
 #                    DELAYLOGIN=no, /etc/nologin was not created by by
 #                    bootmisc earlier in the boot process.
 ### END INIT INFO
-#
-# Version:	@(#)rmnologin  2.85-13  22-Mar-2004  miquels at cistron.nl
-#
 
 [ -z "$DELAYLOGIN" ] && DELAYLOGIN=yes
 [ -f /etc/default/rcS ] && . /etc/default/rcS
@@ -23,30 +20,31 @@
 
 do_start () {
 	case "$DELAYLOGIN" in
-		Y*|y*)
-			#
-			#	If /etc/nologin is a symbolic link,
-			#	remove the destination instead of the link.
-			#
-			rm -f "`readlink -f /etc/nologin || :`"
-			;;
+	  Y*|y*)
+		#
+		# If /etc/nologin is a symbolic link
+		# then remove the destination instead of the link
+		#
+		rm -f "`readlink -f /etc/nologin || :`"
+		;;
 	esac
 }
 
 case "$1" in
-    start)
-        do_start
-        ;;
-    restart|reload|force-reload)
-        echo "Error: argument '$1' not supported" >&2
-        exit 3
-        ;;
-    stop)
-        ;;
-    *)
-        echo "Usage: $0 start|stop" >&2
-        exit 3
-        ;;
+  start)
+	do_start
+	;;
+  restart|reload|force-reload)
+	echo "Error: argument '$1' not supported" >&2
+	exit 3
+	;;
+  stop)
+	# No-op
+	;;
+  *)
+	echo "Usage: $0 start|stop" >&2
+	exit 3
+	;;
 esac
 
 : exit 0




More information about the Pkg-sysvinit-commits mailing list