chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
preset: enable machines.target by default
[elogind.git]
/
src
/
sysv-generator
/
sysv-generator.c
diff --git
a/src/sysv-generator/sysv-generator.c
b/src/sysv-generator/sysv-generator.c
index e6eef315e9b82b4e7f6f373cc873c79b2fcc623e..6730843843ba4da0dd4c6c452812bae1360fff85 100644
(file)
--- a/
src/sysv-generator/sysv-generator.c
+++ b/
src/sysv-generator/sysv-generator.c
@@
-174,9
+174,6
@@
static int generate_unit_file(SysvStub *s) {
"RemainAfterExit=%s\n",
yes_no(!s->pid_file));
"RemainAfterExit=%s\n",
yes_no(!s->pid_file));
- if (s->sysv_start_priority > 0)
- fprintf(f, "SysVStartPriority=%d\n", s->sysv_start_priority);
-
if (s->pid_file)
fprintf(f, "PIDFile=%s\n", s->pid_file);
if (s->pid_file)
fprintf(f, "PIDFile=%s\n", s->pid_file);
@@
-707,7
+704,7
@@
static int enumerate_sysv(LookupPaths lp, Hashmap *all_services) {
_cleanup_free_ char *fpath = NULL, *name = NULL;
int r;
_cleanup_free_ char *fpath = NULL, *name = NULL;
int r;
- if (
ignore
_file(de->d_name))
+ if (
hidden
_file(de->d_name))
continue;
fpath = strjoin(*path, "/", de->d_name, NULL);
continue;
fpath = strjoin(*path, "/", de->d_name, NULL);
@@
-780,7
+777,7
@@
static int set_dependencies_from_rcnd(LookupPaths lp, Hashmap *all_services) {
while ((de = readdir(d))) {
int a, b;
while ((de = readdir(d))) {
int a, b;
- if (
ignore
_file(de->d_name))
+ if (
hidden
_file(de->d_name))
continue;
if (de->d_name[0] != 'S' && de->d_name[0] != 'K')
continue;
if (de->d_name[0] != 'S' && de->d_name[0] != 'K')