From: Jan Stodola Date: Thu, 1 Mar 2012 19:22:57 +0000 (+0100) Subject: Fix correct nfs path X-Git-Tag: 018~80 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=778f767bccf14f49573d5fffca40841f42401e75;p=thirdparty%2Fdracut.git Fix correct nfs path --- diff --git a/modules.d/45url-lib/url-lib.sh b/modules.d/45url-lib/url-lib.sh index 383e7ac22..1fc80a185 100755 --- a/modules.d/45url-lib/url-lib.sh +++ b/modules.d/45url-lib/url-lib.sh @@ -99,7 +99,7 @@ nfs_fetch_url() { mntdir=$(nfs_already_mounted $server $path) if [ -z "$mntdir" ]; then local mntdir="$(mkuniqdir /run nfs_mnt)" - mount_nfs $nfs:$server:$path${options:+:$options} $mntdir + mount_nfs $nfs:$server:$filepath${options:+:$options} $mntdir # lazy unmount during pre-pivot hook inst_hook --hook pre-pivot --name 99url-lib-umount-nfs umount -l $mntdir fi