summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJose Irigon de Irigon <irigon@user.noreply.github.com>2017-07-04 16:59:34 +0200
committerJose Irigon de Irigon <irigon@user.noreply.github.com>2017-07-04 16:59:34 +0200
commita309b03c3a650a5703cd571b3b62e9e2b71d3d69 (patch)
tree2bfd3129a60525e717a3030d5036e4a19aa99f3e /scripts
parent9d71d68dac2e865838c1bb872004e0cb843b42f1 (diff)
downloadvyatta-cfg-system-a309b03c3a650a5703cd571b3b62e9e2b71d3d69.tar.gz
vyatta-cfg-system-a309b03c3a650a5703cd571b3b62e9e2b71d3d69.zip
T331: root should be set to md/X instead of md/mdX
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-grub-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup
index f4c18f2c..7a5d3891 100755
--- a/scripts/vyatta-grub-setup
+++ b/scripts/vyatta-grub-setup
@@ -178,7 +178,7 @@ fi
echo ""
echo -e "insmod mdraid09"
echo -e "insmod mdraid1x"
- echo -e "set root=(md/$ROOT_PARTITION)"
+ echo -e "set root=(md/${ROOT_PARTITION#md})"
fi
echo ""