forked from Ivasoft/openwrt
cleanup basefiles
SVN-Revision: 34698
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -23,12 +23,11 @@ rt2x00_eeprom_extract() {
|
||||
}
|
||||
|
||||
[ -e /lib/firmware/$FIRMWARE ] && exit 0
|
||||
|
||||
. /lib/lantiq.sh
|
||||
. /lib/functions/lantiq.sh
|
||||
|
||||
case "$FIRMWARE" in
|
||||
"RT2860.eeprom" )
|
||||
local board=$(lantiq_board_name)
|
||||
local board=$(lantiq_board_id)
|
||||
case $board in
|
||||
ARV7525PW|ARV752DPW)
|
||||
rt2x00_eeprom_extract "board_config" 1040 272
|
||||
|
||||
Reference in New Issue
Block a user