Compare commits
2 Commits
71edc766e7
...
b1b9fdc2d8
Author | SHA1 | Date |
---|---|---|
Jonas 'Sortie' Termansen | b1b9fdc2d8 | |
Jonas 'Sortie' Termansen | 64e23ccb22 |
|
@ -503,7 +503,7 @@ The
|
||||||
.Sy optional
|
.Sy optional
|
||||||
flag should only be omitted if a local daemon is critical and the boot should
|
flag should only be omitted if a local daemon is critical and the boot should
|
||||||
fail if the daemon fails.
|
fail if the daemon fails.
|
||||||
.Ss Creating a new virtual daemon
|
.Ss Creating a new daemon
|
||||||
The
|
The
|
||||||
.Sy exampled
|
.Sy exampled
|
||||||
daemon, which depends on the
|
daemon, which depends on the
|
||||||
|
|
|
@ -102,7 +102,7 @@ static void ready(void) {
|
||||||
if ( !readyfd_env )
|
if ( !readyfd_env )
|
||||||
return;
|
return;
|
||||||
int readyfd = atoi(readyfd_env);
|
int readyfd = atoi(readyfd_env);
|
||||||
char c = '\n';
|
char c = '\\n';
|
||||||
write(readyfd, &c, 1);
|
write(readyfd, &c, 1);
|
||||||
close(readyfd);
|
close(readyfd);
|
||||||
unsetenv("READYFD");
|
unsetenv("READYFD");
|
||||||
|
|
Loading…
Reference in New Issue