OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 #!/bin/sh
2 # Copyright (C) 2014 OpenWrt.org
3  
4 move_config() {
5 . /lib/functions.sh
6  
7 case "$(board_name)" in
8 erlite)
9 mount -t vfat /dev/sda1 /mnt
10 [ -f /mnt/sysupgrade.tgz ] && mv -f /mnt/sysupgrade.tgz /
11 umount /mnt
12 ;;
13 esac
14 }
15  
16 boot_hook_add preinit_mount_root move_config