summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2017-10-30 13:55:10 +0100
committerGitHub <noreply@github.com>2017-10-30 13:55:10 +0100
commitbb51bbc80661ac6607e72b216921f3b87b256fab (patch)
treec012f113697ebfd5dfcfc6b4d67f7672558f4dde
parent11fffae1e985ed22d3ab6c437413e8c999b27ea9 (diff)
parenta309b03c3a650a5703cd571b3b62e9e2b71d3d69 (diff)
downloadvyatta-cfg-system-bb51bbc80661ac6607e72b216921f3b87b256fab.tar.gz
vyatta-cfg-system-bb51bbc80661ac6607e72b216921f3b87b256fab.zip
Merge pull request #58 from irigon/current
T331: root should be set to md/X instead of md/mdX
-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 ""