conf.c: Slight update in TTY fallback behavior.

If no tty is configured in finit.conf, only use FALLBACK_SHELL (usually
/bin/sh on UNIX) when no console is configured either.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-02-26 18:57:10 +01:00
1 parent 12c470667f
commit 335f09726f
2 files changed
+10 -2

No files matched your search

+2
View File
@@ -54,6 +54,8 @@
# define HAVE_DBUS
#endif
/* If the user configures us to not know about any getty use the system
* defined /bin/sh (or similar) as fallback for TTYs. */
#ifndef FALLBACK_SHELL
# define FALLBACK_SHELL _PATH_BSHELL
#endif