From b4f96e47d35e35c58b2dfdd18ee2ecbc2df03308 Mon Sep 17 00:00:00 2001 From: Signor Pellegrino <68112357+FlyRouter@users.noreply.github.com> Date: Sat, 18 Mar 2023 17:32:08 +0300 Subject: [PATCH] The code block is disabled until a fix is made due to a global problem with the overlay --- general/overlay/init | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/general/overlay/init b/general/overlay/init index 3555cd57..f45b49b8 100755 --- a/general/overlay/init +++ b/general/overlay/init @@ -13,15 +13,16 @@ grep -q overlay /proc/filesystems || exit if ! grep -q 'root=.*nfs\|mmcblk\|ram' /proc/cmdline; then if grep -q ubifs /proc/cmdline; then mount -t ubifs ubi0:rootfs_data /overlay - elif grep -q loop /proc/devices; then - mount -t devtmpfs devtmpfs /dev - mount -t tmpfs tmpfs /overlay - sleep 1 - mkdir -p /overlay/sdcard - mount -r /dev/mmcblk0p1 /overlay/sdcard - tar -xf /overlay/sdcard/settings.tar -C /overlay && echo OpenIPC: Extract settings from sdcard - umount /overlay/sdcard - rmdir /overlay/sdcard +# The code block is disabled until a fix is made due to a global problem with the overlay +# elif grep -q loop /proc/devices; then +# mount -t devtmpfs devtmpfs /dev +# mount -t tmpfs tmpfs /overlay +# sleep 1 +# mkdir -p /overlay/sdcard +# mount -r /dev/mmcblk0p1 /overlay/sdcard +# tar -xf /overlay/sdcard/settings.tar -C /overlay && echo OpenIPC: Extract settings from sdcard +# umount /overlay/sdcard +# rmdir /overlay/sdcard else mtdblkdev=$(awk -F ':' '/rootfs_data/ {print $1}' /proc/mtd | sed 's/mtd/mtdblock/') mtdchrdev=$(grep 'rootfs_data' /proc/mtd | cut -d: -f1)