[Initscripts-ng-commits] r312 - in /trunk/src/insserv/debian: changelog patches/20_overrides.dpatch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Sat Dec 29 11:07:25 UTC 2007


Author: pere
Date: Sat Dec 29 11:07:24 2007
New Revision: 312

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=312
Log:
  * UNRELEASED
  * Update patch 20_overrides to add useful default values for scripts
    without LSB header.

Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/patches/20_overrides.dpatch

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=312&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Sat Dec 29 11:07:24 2007
@@ -1,3 +1,11 @@
+insserv (1.09.0-4) unstable; urgency=low
+
+  * UNRELEASED
+  * Update patch 20_overrides to add useful default values for scripts
+    without LSB header.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Sat, 29 Dec 2007 00:20:04 +0100
+
 insserv (1.09.0-3) unstable; urgency=low
 
   * Update patch 40_nosusescript to disable unused function setlsb().

Modified: trunk/src/insserv/debian/patches/20_overrides.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/20_overrides.dpatch?rev=312&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/20_overrides.dpatch (original)
+++ trunk/src/insserv/debian/patches/20_overrides.dpatch Sat Dec 29 11:07:24 2007
@@ -42,7 +42,7 @@
  #define COMMON_ARGS	buf, SUBNUM, subloc, 0
  #define COMMON_SHD_ARGS	buf, SUBNUM_SHD, subloc, 0
      while (fgets(buf, sizeof(buf), script)) {
-@@ -1094,10 +1085,107 @@
+@@ -1094,10 +1085,111 @@
  #undef default_start
  #undef default_stop
  #undef description
@@ -141,6 +141,10 @@
 +        warn("warning: script '%s' missing LSB tags\n", path);
 +	if (!override) {
 +	  warn("warning: script '%s' missing override too\n", name);
++	  script_inf.required_start = xstrdup("$remote_fs");
++	  script_inf.required_stop = xstrdup("$remote_fs");
++	  script_inf.default_start = xstrdup(DEFAULT_START_LVL);
++	  script_inf.default_stop = xstrdup(DEFAULT_STOP_LVL);
 +	}
 +    }
 +    free(name);




More information about the Initscripts-ng-commits mailing list