2
0
forked from Ivasoft/openwrt

cleanup basefiles

SVN-Revision: 34698
This commit is contained in:
John Crispin
2012-12-15 02:01:00 +00:00
parent 601bc28669
commit 1dece11487
9 changed files with 76 additions and 89 deletions

View File

@@ -7,11 +7,14 @@
case "${BUTTON}" in
BTN_0)
logger "reset pressed"
echo "REBOOT" > /dev/console
sleep 3
sync
reboot
;;
BTN_1)
logger "factory pressed"
echo "FACTORY RESET" > /dev/console
jffs2_mark_erase "rootfs_data"
sync
reboot