diff --git a/general/overlay/init b/general/overlay/init index f45b49b8..25a0136e 100755 --- a/general/overlay/init +++ b/general/overlay/init @@ -13,16 +13,6 @@ 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 -# 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) diff --git a/general/overlay/usr/sbin/savesettings b/general/overlay/usr/sbin/savesettings deleted file mode 100755 index 7a0aa251..00000000 --- a/general/overlay/usr/sbin/savesettings +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -if grep -q loop /proc/devices; then - tar -cf /tmp/settings.tar -C /overlay root - mv -f /tmp/settings.tar /mnt/mmcblk0p1 && echo OpenIPC: Save settings to sdcard -fi