Update mynode_startup.sh

This commit is contained in:
Albercoin 2023-01-10 07:49:53 +01:00 committed by GitHub
parent e03f33c4c8
commit 0558b8fa80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,15 +73,7 @@ if [ ! -f /var/lib/mynode/.expanded_rootfs ]; then
# NVMe
X86_PARTITION_NUMBER=$(cat /proc/partitions | grep -c "${X86_DEVICE}p[0-9]")
;;
esac
if [ $X86_DEVICE = "sda" ]; then
# SATA
else
# NVMe
fi
esac
X86_FDISK_TYPE=$(fdisk -l "$X86_DEVICE_PATH" | grep "Disklabel")
echo "Root Partition: $X86_ROOT_PARTITION"
echo "Root Device: $X86_DEVICE"