parse fstab
This commit is contained in:
2
init
2
init
@ -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() {
|
||||
|
Reference in New Issue
Block a user