]> err.no Git - systemd/commitdiff
service: ignore sysv $null service
authorLennart Poettering <lennart@poettering.net>
Mon, 27 Sep 2010 22:28:16 +0000 (00:28 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 27 Sep 2010 22:28:16 +0000 (00:28 +0200)
fixme
src/service.c

diff --git a/fixme b/fixme
index 09ea3a65e748bfde0d1f2d2d26d61716fbc43a51..f11d0e015665f1a6f7afee1aaf2d77da74922104 100644 (file)
--- a/fixme
+++ b/fixme
 
 * readahead: btrfs/LVM SSD detection
 
-* handle $null LSB header
-
 * LSB provides should only create targets, never aliases
 
 * d /var/run/screen 0755 root utmp
index 5706d7c490273d1a2269e6f37309e4d3e336bff9..6a4d350c9f4ab2f6b36821015b6691c1eecc2241 100644 (file)
@@ -280,6 +280,10 @@ static int sysv_translate_facility(const char *name, char **_r) {
         unsigned i;
         char *r;
 
+        /* SuSE insserv extension */
+        if (streq(name, "$null"))
+                return 0;
+
         for (i = 0; i < ELEMENTSOF(table); i += 2)
                 if (streq(table[i], name)) {
                         if (!(r = strdup(table[i+1])))