Login  Register

Re: Factory reset not truly a full reset?

Posted by hans2 on Mar 29, 2016; 7:09pm
URL: https://itus.accessinnov.com/Factory-reset-not-truly-a-full-reset-tp562p564.html

user8446 wrote
Are these commands important?

if [[ `df | grep -c overlay` == "1" ]]; then
        umount /overlay
fi
sleep 1
umount /overlay

They run first in the factory reset script and you didn't list them.
i dont think so. As i remember, overlay was part of the RC2 legacy.

Even if I follow the full script, i still have junk in the root.

umount -a
umount /overlay
mkdir -p /factory_reset
mount /dev/mmcblk0p1 /factory_reset
cd /factory_reset
rm ItusrouterImage
rm ItusbridgeImage
rm ItusgatewayImage
cp ItusrestoreImage ItusrouterImage
cp ItusrestoreImage ItusgatewayImage
cp ItusrestoreImage ItusbridgeImage
cd /
umount /factory_reset
umount -a
reboot -f
No more: Shield Pro v1, Chaos Calmer, FW 1.51 SP1