[Pkg-sysvinit-commits] r318 - sysvinit/trunk/debian/initscripts

Thomas Hood jdthood-guest at costa.debian.org
Mon Nov 28 19:42:38 UTC 2005


Author: jdthood-guest
Date: 2005-11-28 19:42:37 +0000 (Mon, 28 Nov 2005)
New Revision: 318

Modified:
   sysvinit/trunk/debian/initscripts/postinst
   sysvinit/trunk/debian/initscripts/preinst
Log:
Chop old conversion code out of preinst


Property changes on: sysvinit/trunk/debian/initscripts/postinst
___________________________________________________________________
Name: svn:executable
   + *

Modified: sysvinit/trunk/debian/initscripts/preinst
===================================================================
--- sysvinit/trunk/debian/initscripts/preinst	2005-11-28 19:30:08 UTC (rev 317)
+++ sysvinit/trunk/debian/initscripts/preinst	2005-11-28 19:42:37 UTC (rev 318)
@@ -1,12 +1,7 @@
 #! /bin/sh
 #
-# debian.preinst
-#		Saves the GMT setting from /etc/init.d/boot.
-#		This should really be set from a seperate
-#		configfile, like /etc/sysconfig.
+# initscripts preinst
 #
-# Version:	debian.preinst  2.74  16-Mar-1998  miquels at cistron.nl
-#
 
 case "$1" in
   install|upgrade)
@@ -19,42 +14,4 @@
 	;;
 esac
 
-umask 022
-
-#
-#	If there's an /etc/init.d/boot file, extract the variables from
-#	it and rename it.
-#
-#	(Started in 2.72-1, Debian 2.0 unstable)
-#
-if [ -f /etc/init.d/boot ]
-then
-	echo "Saving variables from /etc/init.d/boot .."
-	[ ! -d /etc/default ] && mkdir /etc/default
-	rm -f /etc/default/rcS.sed
-	grep '^[A-Z]*=' /etc/init.d/boot | (
-		while read line
-		do
-			var=`echo $line | sed 's/=.*$//'`
-			echo "s!^$var=.*\$!$line!" >> /etc/default/rcS.sed
-		done
-	)
-	mv /etc/init.d/boot /etc/init.d/boot.OLD
-	cat <<EOF
-
-The file /etc/init.d/boot has been replaced with a collection of smaller files
-located in /etc/init.d and linked into /etc/rc.S. The customization variables
-are now located in the file /etc/default/rcS.
-
-EOF
-fi
-
-#cat <<EOF
-#
-#  The package manager might ask you if you want to install new versions
-#  of the /etc/init.d/whatever files. This is generally a good idea
-#  (so reply with \`\`y'') unless you really changed any of these files.
-#
-#EOF
-
 exit 0


Property changes on: sysvinit/trunk/debian/initscripts/preinst
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-sysvinit-commits mailing list