2 # Copyright (C) 2006 OpenWrt.org
3 # Copyright (C) 2010 Vertical Communications
7 boot_run_hook preinit_mount_root
8 [ -f /sysupgrade.tgz
] && {
9 echo "- config restore -"
11 tar xzf
/sysupgrade.tgz
15 [ "$INITRAMFS" = "1" ] || boot_hook_add preinit_main do_mount_root