]> git.pld-linux.org Git - packages/systemd.git/blobdiff - pld-sysv-network.patch
Merge branch 'master', commit 'refs/notes/commits' of git://git.pld-linux.org/package...
[packages/systemd.git] / pld-sysv-network.patch
index 9cf8c921b33aa003ea85f9c828eeba3b5d5e4736..224b8e457500eec50c757e15513c6a55f5a5d28e 100644 (file)
@@ -1,5 +1,5 @@
---- systemd-38/src/service.c~  2012-01-26 00:12:06.239561034 +0100
-+++ systemd-38/src/service.c   2012-01-26 18:26:15.476825041 +0100
+--- systemd-38/src/core/service.c~     2012-01-26 00:12:06.239561034 +0100
++++ systemd-38/src/core/service.c      2012-01-26 18:26:15.476825041 +0100
 @@ -516,6 +516,13 @@
                  line++;
  
 +                        if (r < 0)
 +                                 log_error("[%s:%u] Failed to add dependency on network.target, ignoring: %s", path, line, strerror(-r));
 +                }
-                 if (*t != '#')
-                         continue;
+                 if (*t != '#') {
+                         /* Try to figure out whether this init script supports
+                          * the reload operation. This heuristic looks for
+--- systemd-44/man/systemd.special.xml~        2012-02-20 16:33:32.000000000 +0200
++++ systemd-44/man/systemd.special.xml 2012-03-18 10:44:01.469494195 +0200
+@@ -324,6 +324,10 @@
+                                         referring to the
+                                         <literal>$network</literal>
+                                         facility.</para>
++
++                                                                              <para>PLD specific: also scripts with
++                                                                              <literal>. /etc/sysconfig/network</literal>
++                                                                              source line get the dependency.</para>
+                                 </listitem>
+                         </varlistentry>
+                         <varlistentry>
This page took 0.03584 seconds and 4 git commands to generate.