From 0c5b94a0a094f2c920f3674329a550fd4167827b Mon Sep 17 00:00:00 2001 From: Attila Lendvai <attila@lendvai.name> Date: Thu, 17 Mar 2016 14:59:16 +0100 Subject: [PATCH] change head -c to 1024 bytes, just in case. --- image-extras/common/root/autoprovision-stage1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-extras/common/root/autoprovision-stage1.sh b/image-extras/common/root/autoprovision-stage1.sh index 865639e..718f253 100755 --- a/image-extras/common/root/autoprovision-stage1.sh +++ b/image-extras/common/root/autoprovision-stage1.sh @@ -10,7 +10,7 @@ getPendriveSize() # details: https://dev.openwrt.org/ticket/10716#comment:4 if [ -e /dev/sda ]; then # force re-read of the partition table - head -c 10 /dev/sda >/dev/null + head -c 1024 /dev/sda >/dev/null fi if (grep -q sda /proc/partitions) then