From beda11255b27d2ec089aae4d8248000f213d323b Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 Jan 2016 23:19:41 +0000 Subject: octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly Fixes sysupgrade Signed-off-by: Felix Fietkau SVN-Revision: 48558 --- target/linux/octeon/base-files/lib/preinit/79_move_config | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'target/linux/octeon/base-files/lib/preinit/79_move_config') diff --git a/target/linux/octeon/base-files/lib/preinit/79_move_config b/target/linux/octeon/base-files/lib/preinit/79_move_config index 39cefd5..669999e 100644 --- a/target/linux/octeon/base-files/lib/preinit/79_move_config +++ b/target/linux/octeon/base-files/lib/preinit/79_move_config @@ -2,11 +2,7 @@ # Copyright (C) 2014 OpenWrt.org move_config() { - . /lib/functions/octeon.sh - - local board="$(octeon_board_name)" - - case "$board" in + case "$(cat /tmp/sysinfo/board_name)" in erlite) mount -t vfat /dev/sda1 /mnt mv -f /mnt/sysupgrade.tgz / -- cgit v1.1