mirror of
https://github.com/troglobit/finit.git
synced 2026-11-09 16:21:24 +00:00
Silence, remove "Starting ..." of inetd services from boot progress
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0fc2df1a65
commit
ec2382b6d4
1 file changed
+6
-6
+6
-6
@@ -161,16 +161,16 @@ static int service_start(svc_t *svc)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (svc_is_daemon(svc) || svc_is_inetd(svc))
|
#ifdef INETD_ENABLED
|
||||||
|
if (svc_is_inetd(svc))
|
||||||
|
return inetd_start(&svc->inetd);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
if (svc_is_daemon(svc))
|
||||||
print_desc("Starting ", svc->desc);
|
print_desc("Starting ", svc->desc);
|
||||||
else
|
else
|
||||||
print_desc("", svc->desc);
|
print_desc("", svc->desc);
|
||||||
|
|
||||||
#ifdef INETD_ENABLED
|
|
||||||
if (svc_is_inetd(svc))
|
|
||||||
return print_result(inetd_start(&svc->inetd));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Declare we're waiting for svc to create its pidfile */
|
/* Declare we're waiting for svc to create its pidfile */
|
||||||
svc_starting(svc);
|
svc_starting(svc);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user