mirror of
https://github.com/troglobit/finit.git
synced 2026-11-12 16:51:25 +00:00
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
b01f9f38f2
commit
26409bc860
1 file changed
+8
@@ -338,6 +338,14 @@ static void fs_mount_all(void)
|
|||||||
sulogin(1);
|
sulogin(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Needed by fsck, both BusyBox and util-linux support this.
|
||||||
|
* We leave it set in the env. for the benefit of any mount
|
||||||
|
* helpers and other system tools that the user expects to
|
||||||
|
* behave even if we've booted with a different fstab.
|
||||||
|
*/
|
||||||
|
setenv("FSTAB_FILE", fstab, 1);
|
||||||
|
|
||||||
if (!rescue)
|
if (!rescue)
|
||||||
fs_remount_root(fsck_all());
|
fs_remount_root(fsck_all());
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user