mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-14 01:57:27 +03: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
|
* readahead: btrfs/LVM SSD detection
|
||||||
|
|
||||||
* handle $null LSB header
|
|
||||||
|
|
||||||
* LSB provides should only create targets, never aliases
|
* LSB provides should only create targets, never aliases
|
||||||
|
|
||||||
* d /var/run/screen 0755 root utmp
|
* d /var/run/screen 0755 root utmp
|
||||||
|
@ -280,6 +280,10 @@ static int sysv_translate_facility(const char *name, char **_r) {
|
|||||||
unsigned i;
|
unsigned i;
|
||||||
char *r;
|
char *r;
|
||||||
|
|
||||||
|
/* SuSE insserv extension */
|
||||||
|
if (streq(name, "$null"))
|
||||||
|
return 0;
|
||||||
|
|
||||||
for (i = 0; i < ELEMENTSOF(table); i += 2)
|
for (i = 0; i < ELEMENTSOF(table); i += 2)
|
||||||
if (streq(table[i], name)) {
|
if (streq(table[i], name)) {
|
||||||
if (!(r = strdup(table[i+1])))
|
if (!(r = strdup(table[i+1])))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user