From 9276dc01fd221bfa0f2c08c4a7d7561a208cedba Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Mon, 21 Dec 2015 09:50:42 +0000 Subject: [PATCH] More allowed drive types Signed-off-by: Justin Cormack --- alpine/etc/init.d/automount | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine/etc/init.d/automount b/alpine/etc/init.d/automount index 85fe8412d..f44560724 100755 --- a/alpine/etc/init.d/automount +++ b/alpine/etc/init.d/automount @@ -10,7 +10,7 @@ start() { ebegin "Configuring host block device" - DEV="$(ls /dev/[xv]da | head -1 | sed s@/dev/@@)" + DEV="$(ls /dev/[sxv]da | head -1 | sed s@/dev/@@)" DRIVE="/dev/${DEV}" if fdisk -l ${DRIVE} | grep -q "doesn't contain a valid partition table"