1#!/bin/sh 2# Copyright (C) 2014 OpenWrt.org 3 4move_config() { 5 case "$(cat /tmp/sysinfo/board_name)" in 6 erlite) 7 mount -t vfat /dev/sda1 /mnt 8 mv -f /mnt/sysupgrade.tgz / 9 umount /mnt 10 ;; 11 esac 12} 13 14boot_hook_add preinit_mount_root move_config 15