]> git.pld-linux.org Git - packages/systemd.git/blobdiff - pld-sysv-network.patch
- future todo
[packages/systemd.git] / pld-sysv-network.patch
index 1c551720e3bdb133323224ec4a2188f489e2c09b..08ae087c051aa00480a9ea99cca7739aa3436660 100644 (file)
@@ -4,7 +4,7 @@
                  line++;
  
                  t = strstrip(l);
-+                # PLD specifick ugly hack to detect SysV services requiring networking
++                // PLD specific ugly hack to detect SysV services requiring network
 +                if (startswith_no_case(t, ". /etc/sysconfig/network")) {
 +                        r = unit_add_dependency_by_name(UNIT(s), UNIT_REQUIRES | UNIT_AFTER, "network.target", NULL, true);
 +
                  if (*t != '#')
                          continue;
  
+--- 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.028226 seconds and 4 git commands to generate.