luci-app-docker:fixed multi-disk initialization failure (#1799)
This commit is contained in:
parent
990921c471
commit
8520412c93
@ -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" ]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user