chiark / gitweb /
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 09ea3a6..f11d0e0 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 5706d7c..6a4d350 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])))