diff options
Diffstat (limited to 'initramfs')
| -rw-r--r-- | initramfs/initrd-stuff/etc/functions | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index 056e2499..0c4751c4 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -232,8 +232,8 @@ local dest=$2 local ret=0 [ -z "$dest" ] && dest="/mnt" # often nfs is just a module and not compiled directly into the kernel -[ -f /lib/modules/@@@KERNVER@@@/kernel/fs/nfs/nfs.ko ] && \ - modprobe ${MODPRV} nfs || error "$error_modnfs" +[ -f /lib/modules/@@@KERNVER@@@/kernel/fs/nfs/nfs.ko ] && \ + { modprobe ${MODPRV} nfs || error "$error_modnfs"; } # busybox mount has to be compiled with nfs mount support otherwise # --> error "$error_mntt" mount -n -t nfs -o ro,nolock,tcp $nfsroot $dest || \ |
