parse fstab

This commit is contained in:
illiliti
2020-02-19 19:25:45 +03:00
parent cb3ada7257
commit fc47af17b3
2 changed files with 16 additions and 6 deletions

2
init
View File

@ -85,7 +85,7 @@ trigger_lvm() {
}
mnt_rootfs() {
mount ${root_type:+-t $root_type} $root_args $(findfs_sh "$root") /mnt/root || panic "failed to mount rootfs"
mount ${root_type:+-t $root_type} ${root_args:+-o $root_args} $(findfs_sh "$root") /mnt/root || panic "failed to mount rootfs"
}
cleanup() {