service: ignore sysv $null service

This commit is contained in:
Lennart Poettering 2010-09-28 00:28:16 +02:00
parent b4a16b7b8a
commit cb33e40000
2 changed files with 4 additions and 2 deletions

2
fixme
View File

@ -101,8 +101,6 @@
* readahead: btrfs/LVM SSD detection
* handle $null LSB header
* LSB provides should only create targets, never aliases
* d /var/run/screen 0755 root utmp

View 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])))