mirror of
https://github.com/troglobit/finit.git
synced 2026-10-28 12:30:44 +00:00
Fallback rescue mode handling
Before4e5d06bthe only way to go into rescue mode was to skip certain steps and then attempt to load /lib/finit/rescue.conf. After4e5d06bwe keep the old handling as a fallback in case early sulogin fails. The new tty option 'rescue' is added, which recue.conf is updated with. This option implies notty mode and will try sulogin (again) before it falls back to start /bin/sh as a login shell. The reason we keep this is to be able to handle all possible use-cases and also allow sysadmins to set up the behavior that fits their needs. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
666cae6f49
commit
679b4df881
6 files changed
+22
-11