[Pkg-sysvinit-commits] r339 - in sysvinit/trunk/debian: . share sysv-rc sysv-rc/etc/init.d

Thomas Hood jdthood-guest at costa.debian.org
Thu Dec 1 12:45:00 UTC 2005


Author: jdthood-guest
Date: 2005-12-01 12:45:00 +0000 (Thu, 01 Dec 2005)
New Revision: 339

Modified:
   sysvinit/trunk/debian/deps-glibc
   sysvinit/trunk/debian/deps-mount
   sysvinit/trunk/debian/share/update-rc.d
   sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
   sysvinit/trunk/debian/sysv-rc/etc/init.d/rcS
   sysvinit/trunk/debian/sysv-rc/saveconfig
Log:
Reformat more files

Modified: sysvinit/trunk/debian/deps-glibc
===================================================================
--- sysvinit/trunk/debian/deps-glibc	2005-11-29 14:20:42 UTC (rev 338)
+++ sysvinit/trunk/debian/deps-glibc	2005-12-01 12:45:00 UTC (rev 339)
@@ -7,23 +7,23 @@
 DEB_BUILD_GNU_CPU=`dpkg-architecture -qDEB_BUILD_GNU_CPU`
 
 case "$DEB_BUILD_GNU_SYSTEM" in
-
-    linux)
+  linux)
 	case "$DEB_BUILD_GNU_CPU" in
-		ia64|alpha)
-			echo 'glibc:Depends=libc6.1 (>= 2.3.2.ds1-12)'
-			;;
-		*)
-			echo 'glibc:Depends=libc6 (>= 2.3.2.ds1-12)'
-			;;
+	  ia64|alpha)
+		echo 'glibc:Depends=libc6.1 (>= 2.3.2.ds1-12)'
+		;;
+	  *)
+		echo 'glibc:Depends=libc6 (>= 2.3.2.ds1-12)'
+		;;
 	esac
 	;;
-#    This would be the correct dependency, but it is dropped at
-#    the request of the *bsd* maintainers (see Bug #253314)
-#    *bsd*)
+  gnu)
+	echo 'glibc:Depends=libc0.3 (>= 2.3.2.ds1-12)'
+	;;
+# This would be the correct dependency, but it is dropped at
+# the request of the *bsd* maintainers (see Bug #253314)
+#  *bsd*)
 #	echo 'glibc:Depends=libc0.1 (>= 2.3.2.ds1-12)'
 #	;;
-    gnu)
-	echo 'glibc:Depends=libc0.3 (>= 2.3.2.ds1-12)'
-	;;
 esac
+

Modified: sysvinit/trunk/debian/deps-mount
===================================================================
--- sysvinit/trunk/debian/deps-mount	2005-11-29 14:20:42 UTC (rev 338)
+++ sysvinit/trunk/debian/deps-mount	2005-12-01 12:45:00 UTC (rev 339)
@@ -1,12 +1,14 @@
 #
-# deps-mount	Output a dependency on the package that contains
-#		the "mount" command we need.
+# deps-mount
 #
+# Output a dependency on the package that contains
+# the "mount" command we need.
+#
 
 DEB_BUILD_GNU_TYPE=`dpkg-architecture -qDEB_BUILD_GNU_TYPE`
 
 case "$DEB_BUILD_GNU_TYPE" in
-	*-linux)
-		echo 'mount:Depends=mount (>= 2.11l-1)'
-		;;
+  *-linux)
+	echo 'mount:Depends=mount (>= 2.11l-1)'
+	;;
 esac

Modified: sysvinit/trunk/debian/share/update-rc.d
===================================================================
--- sysvinit/trunk/debian/share/update-rc.d	2005-11-29 14:20:42 UTC (rev 338)
+++ sysvinit/trunk/debian/share/update-rc.d	2005-12-01 12:45:00 UTC (rev 339)
@@ -1,12 +1,14 @@
 #! /bin/sh
 #
-# update-rc.d	Dummy update-rc.d, installed when file-rc replaces
-#		sysv-rc or the other way around. The postrm of the
-#		package being replaced symlinks /usr/sbin/update-rc.d
-#		to this dummy file.
+# update-rc.d
 #
-#		All this script does is "scream and die".
+# Dummy update-rc.d, installed when file-rc replaces
+# sysv-rc or the other way around. The postrm of the
+# package being replaced symlinks /usr/sbin/update-rc.d
+# to this dummy file.
 #
+# All this script does is "scream and die".
+#
 
 name=`basename $0`
 

Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/rc
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2005-11-29 14:20:42 UTC (rev 338)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/rc	2005-12-01 12:45:00 UTC (rev 339)
@@ -1,24 +1,20 @@
 #! /bin/sh
 #
-# rc		This file is responsible for starting/stopping
-#		services when the runlevel changes.
+# rc
 #
-#		Optimization feature:
-#		A startup script is _not_ run when the service was
-#		running in the previous runlevel and it wasn't stopped
-#		in the runlevel transition (most Debian services don't
-#		have K?? links in rc{1,2,3,4,5} )
+# Starts/stops services on runlevel changes.
 #
-#		A stop script is _not_ run when the the service was
-#		not started in the previous runlevel, or it was
-#		stopped in the previous runlevel.
+# Optimization: A start script is not run when the service was already
+# configured to run in the previous runlevel.  A stop script is not run
+# when the the service was already configured not to run in the previous
+# runlevel.
 #
-# Author:	Miquel van Smoorenburg <miquels at cistron.nl>
-#		Bruce Perens <Bruce at Pixar.com>
+# Authors:
+# 	Miquel van Smoorenburg <miquels at cistron.nl>
+# 	Bruce Perens <Bruce at Pixar.com>
 
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 export PATH
-umask 022
 
 # Un-comment the following for debugging.
 # debug=echo
@@ -27,6 +23,8 @@
 # Valid options are 'none', 'shell' and 'startpar'
 CONCURRENCY=none
 
+umask 022
+
 #
 # Start script or program.
 #
@@ -114,8 +112,8 @@
 if [ S = "$runlevel" ]
 then
 	#
-	#	See if system needs to be setup. This is ONLY meant to
-	#	be used for the initial setup after a fresh installation!
+	# See if system needs to be setup. This is ONLY meant to
+	# be used for the initial setup after a fresh installation!
 	#
 	if [ -x /sbin/unconfigured.sh ]
 	then

Modified: sysvinit/trunk/debian/sysv-rc/etc/init.d/rcS
===================================================================
--- sysvinit/trunk/debian/sysv-rc/etc/init.d/rcS	2005-11-29 14:20:42 UTC (rev 338)
+++ sysvinit/trunk/debian/sysv-rc/etc/init.d/rcS	2005-12-01 12:45:00 UTC (rev 339)
@@ -1,8 +1,8 @@
 #! /bin/sh
 #
-# rcS		Call all S??* scripts in /etc/rcS.d in
-#		numerical/alphabetical order.
+# rcS
 #
-# Version:	@(#)/etc/init.d/rcS  2.76  19-Apr-1999  miquels at cistron.nl
+# Call all S??* scripts in /etc/rcS.d/ in numerical/alphabetical order
 #
+
 exec /etc/init.d/rc S

Modified: sysvinit/trunk/debian/sysv-rc/saveconfig
===================================================================
--- sysvinit/trunk/debian/sysv-rc/saveconfig	2005-11-29 14:20:42 UTC (rev 338)
+++ sysvinit/trunk/debian/sysv-rc/saveconfig	2005-12-01 12:45:00 UTC (rev 339)
@@ -1,11 +1,13 @@
 #! /usr/bin/perl
 #
-# saveconfig	Print out the configuration of the current /etc/rc?.d
-#		symlink setup, in a format compatible to the
-#		"update-rc.d" command line.
+# saveconfig
 #
-# Author:	Miquel van Smoorenburg <miquels at cistron.nl>
+# Print out the configuration of the current /etc/rc?.d
+# symlink setup, in a format compatible to the
+# "update-rc.d" command line.
 #
+# Author: Miquel van Smoorenburg <miquels at cistron.nl>
+#
 
 chdir "/etc/init.d";
 




More information about the Pkg-sysvinit-commits mailing list