diff --git a/disks/install.sh b/disks/install.sh index 19450282..49947ed8 100755 --- a/disks/install.sh +++ b/disks/install.sh @@ -112,12 +112,12 @@ function checkSynoboot() { [ ! -b /dev/synoboot -a -d /sys/block/${BOOTDISK} ] && /bin/mknod /dev/synoboot b $(cat /sys/block/${BOOTDISK}/dev | sed 's/:/ /') >/dev/null 2>&1 - # sataN, nvmeN + # sataN, nvmeXnN, mmcblkN [ ! -b /dev/synoboot1 -a -d /sys/block/${BOOTDISK}/${BOOTDISK}p1 ] && /bin/mknod /dev/synoboot1 b $(cat /sys/block/${BOOTDISK}/${BOOTDISK}p1/dev | sed 's/:/ /') >/dev/null 2>&1 [ ! -b /dev/synoboot2 -a -d /sys/block/${BOOTDISK}/${BOOTDISK}p2 ] && /bin/mknod /dev/synoboot2 b $(cat /sys/block/${BOOTDISK}/${BOOTDISK}p2/dev | sed 's/:/ /') >/dev/null 2>&1 - # sdN + # sdN, vdN [ ! -b /dev/synoboot1 -a -d /sys/block/${BOOTDISK}/${BOOTDISK}1 ] && /bin/mknod /dev/synoboot1 b $(cat /sys/block/${BOOTDISK}/${BOOTDISK}1/dev | sed 's/:/ /') >/dev/null 2>&1 [ ! -b /dev/synoboot2 -a -d /sys/block/${BOOTDISK}/${BOOTDISK}2 ] && @@ -291,6 +291,8 @@ function dtModel() { fi done + checkSynoboot + # USB ports COUNT=1 for I in $(getUsbPorts); do