troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
634 stars 64 forks source link

Introduce two more configure options #202

Closed liuming50 closed 3 years ago

liuming50 commented 3 years ago

fastboot: once enabled, fsck would be skipped on filesystems listed in /etc/fstab. fsckfix: once enabled, 'fsck -ys' would be run instead of 'fsck -a', and check the return value larger than 1 as a failure and goes to login console.

They are both disabled by default, no functional changes unless an end user choose to enable them.

The idea derives from Sysvinit's "FASTBOOT" and "FSCKFIX".

Signed-off-by: Ming Liu liu.ming50@gmail.com

troglobit commented 3 years ago

Great idea! If you feel up to it, this might be useful to be able to activate from the command line as well, from a boot loader.

Minor fixups only of coding style, added as follow-up commit.

troglobit commented 3 years ago

Hand merged and pushed to master.