[Initscripts-ng-commits] r292 - /trunk/src/insserv/debian/patches/40_nosusescript.dpatch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Wed Nov 21 17:11:06 UTC 2007


Author: pere
Date: Wed Nov 21 17:11:06 2007
New Revision: 292

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=292
Log:
Need to comment out more suse specific stuff.

Modified:
    trunk/src/insserv/debian/patches/40_nosusescript.dpatch

Modified: trunk/src/insserv/debian/patches/40_nosusescript.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/40_nosusescript.dpatch?rev=292&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/40_nosusescript.dpatch (original)
+++ trunk/src/insserv/debian/patches/40_nosusescript.dpatch Wed Nov 21 17:11:06 2007
@@ -5,17 +5,17 @@
 avoid fixing the sequence number for a lot of scripts used in SuSe.
 
 @DPATCH@
---- insserv-1.08.0.orig/insserv.c
-+++ insserv-1.08.0/insserv.c
-@@ -1832,6 +1832,7 @@
- 	    continue;
- 	}
+--- insserv-1.08.0.orig/insserv.c	2007-11-21 17:30:08.000000000 +0100
++++ insserv-1.08.0/insserv.c	2007-11-21 17:30:33.000000000 +0100
+@@ -1894,6 +1894,7 @@
+ 	/* main scanner for LSB comment in current script */
+ 	lsb = scan_script_defaults(d->d_name);
  
 +#ifdef SUSE
- 	/* Common script for single mode */
- 	if (!strcmp(d->d_name, "single")) {
- 	    serv_t *serv = addserv("single");
-@@ -1842,6 +1843,7 @@
+ 	/* Common script ... */
+ 	if (!strcmp(d->d_name, "halt")) {
+ 	    makeprov("halt",   d->d_name);
+@@ -1920,6 +1921,7 @@
  	    rememberreq(serv, REQ_SHLD, "kbd");
  	    continue;
  	}
@@ -23,7 +23,7 @@
  
  	/*
  	 * Oops, no comment found, guess one
-@@ -2176,6 +2178,7 @@
+@@ -2266,6 +2268,7 @@
  
      expand_conf();
  
@@ -31,7 +31,7 @@
      /*
       *  Set initial order of some services
       */
-@@ -2187,6 +2190,7 @@
+@@ -2277,6 +2280,7 @@
      setorder("serial",	10, false); setlsb("serial");
      setorder("gpm",	20, false); setlsb("gpm");
      setorder("boot.setup", 20, false);




More information about the Initscripts-ng-commits mailing list