Allow building Finit --without-rc-local support

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2024-04-28 14:25:53 +02:00
1 parent 4a2381eb6f
commit 612f5a9385
2 files changed
+6 -5

No files matched your search

+2
View File
@@ -316,9 +316,11 @@ restart:
/* Cleanup stale services */
svc_clean_dynamic(service_unregister);
#ifdef FINIT_RC_LOCAL
/* Compat SysV init */
if (prevlevel == INIT_LEVEL && !rescue)
run_bg(FINIT_RC_LOCAL, NULL);
#endif
/*
* "I've seen things you people wouldn't believe. Attack ships on fire off