luci-app-docker:fixed multi-disk initialization failure (#1799)

This commit is contained in:
Eason 2019-10-24 01:39:22 -05:00 committed by coolsnowwolf
parent 990921c471
commit 8520412c93

View File

@ -1,5 +1,5 @@
#!/bin/sh
dtype=`fdisk -l | grep 'Disklabel type' | awk '{print $3}'`
dtype=`fdisk -l /dev/sda | grep 'Disklabel type' | awk '{print $3}'`
partid="0"
if [ "$dtype" = "gpt" ]