The USB stick needs to have a file named "rescue" (without any extension). This rescue file contains shell commads which the MB PRO2 executes during startup.
Do not forget to remove the USB stick when it has triggered a reboot (to avoid being stuck in a reboot loop).
For doing a factory reset please copy these lines into the rescue file:
Code: Select all
echo "#sleepoff" | writeoled
echo -e "#new\n#clearall\n*clearloop\n#font helvR14\n#string 0 32 FACT RESET\n#show" | /usr/bin/writeoled
rm -r /overlay/*
killall start.sh start 2>/dev/null
rebootCode: Select all
echo "#sleepoff" | writeoled
echo -e "#new\n#clearall\n*clearloop\n#font helvR14\n#string 0 32 LAN DHCP\n#show" | /usr/bin/writeoled
cd /etc/config
tar xzpf ../config.landchpclient.tgz
killall start.sh start 2>/dev/null
rebootCode: Select all
echo "#sleepoff" | writeoled
echo -e "#new\n#clearall\n*clearloop\n#font helvR14\n#string 0 32 RESET PASS\n#show" | /usr/bin/writeoled
cd /etc
tar xzpf login.tgz
rm /root/passwd 2>/dev/null
reboot