summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinitramfs/initrd-stuff/init1
1 files changed, 1 insertions, 0 deletions
diff --git a/initramfs/initrd-stuff/init b/initramfs/initrd-stuff/init
index e912864f..ef761352 100755
--- a/initramfs/initrd-stuff/init
+++ b/initramfs/initrd-stuff/init
@@ -192,6 +192,7 @@ in $0\ncountry=\"${COUNTRY}\"" >> /etc/machine-setup
rootfs=*)
rootfs=${opts#rootfs=}
rootfs=${rootfs#\"}
+ rootfs=${rootfs%%\"}
srvproto=$(uri_token $rootfs prot)
case $srvproto in
nfs)