mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
Update mynode_startup.sh
This commit is contained in:
parent
e03f33c4c8
commit
0558b8fa80
|
@ -73,15 +73,7 @@ if [ ! -f /var/lib/mynode/.expanded_rootfs ]; then
|
||||||
# NVMe
|
# NVMe
|
||||||
X86_PARTITION_NUMBER=$(cat /proc/partitions | grep -c "${X86_DEVICE}p[0-9]")
|
X86_PARTITION_NUMBER=$(cat /proc/partitions | grep -c "${X86_DEVICE}p[0-9]")
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ $X86_DEVICE = "sda" ]; then
|
|
||||||
# SATA
|
|
||||||
|
|
||||||
else
|
|
||||||
# NVMe
|
|
||||||
|
|
||||||
fi
|
|
||||||
X86_FDISK_TYPE=$(fdisk -l "$X86_DEVICE_PATH" | grep "Disklabel")
|
X86_FDISK_TYPE=$(fdisk -l "$X86_DEVICE_PATH" | grep "Disklabel")
|
||||||
echo "Root Partition: $X86_ROOT_PARTITION"
|
echo "Root Partition: $X86_ROOT_PARTITION"
|
||||||
echo "Root Device: $X86_DEVICE"
|
echo "Root Device: $X86_DEVICE"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user