summaryrefslogtreecommitdiff
path: root/scripts/install
diff options
context:
space:
mode:
authorKim <kim.sidney@gmail.com>2019-04-10 11:32:45 +0200
committerGitHub <noreply@github.com>2019-04-10 11:32:45 +0200
commit4d852054acf06e5aca1b8db1444952788d1a0c41 (patch)
tree936b3b648cb22c7a680fd164b65dcf806bc2d0b8 /scripts/install
parent26eafdaac35c695be1e7c9bfe0cee33dfcfaa5fe (diff)
downloadvyatta-cfg-system-4d852054acf06e5aca1b8db1444952788d1a0c41.tar.gz
vyatta-cfg-system-4d852054acf06e5aca1b8db1444952788d1a0c41.zip
T1329: support installation on SD cards fix
Diffstat (limited to 'scripts/install')
-rwxr-xr-xscripts/install/install-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install/install-functions b/scripts/install/install-functions
index 56856c8c..46938aeb 100755
--- a/scripts/install/install-functions
+++ b/scripts/install/install-functions
@@ -176,7 +176,7 @@ select_drive () {
# the first grep pattern looks for devices named c0d0, hda, and sda.
drives=$(cat /proc/partitions | \
awk '{ if ($4!="name") { print $4 } }' | \
- egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]|mmcblk[0-9]p[0-9]" | \
+ egrep "c[0-9]d[0-9]$|[hsv]d[a-z]$|nvme[0-9]n[0-9]|mmcblk[0-9]" | \
egrep -v "^$")
#this needs more testing to decide if better than above