mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-15 16:47:07 +07:00
service: ignore sysv $null service
This commit is contained in:
parent
b4a16b7b8a
commit
cb33e40000
2
fixme
2
fixme
@ -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
|
||||
|
@ -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])))
|
||||
|
Loading…
Reference in New Issue
Block a user