diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-29 23:19:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-29 23:19:41 +0000 |
commit | beda11255b27d2ec089aae4d8248000f213d323b (patch) | |
tree | 0104bf6230cdda52838c7b268f0eb5f1eeba5e0e /target/linux/octeon/base-files/lib/preinit/79_move_config | |
parent | f32de94e0a46e06586dfd4066465a9425fa64304 (diff) | |
download | master-31e0f0ae-beda11255b27d2ec089aae4d8248000f213d323b.tar.gz master-31e0f0ae-beda11255b27d2ec089aae4d8248000f213d323b.tar.bz2 master-31e0f0ae-beda11255b27d2ec089aae4d8248000f213d323b.zip |
octeon: get rid of /lib/functions/octeon.sh hackery, use sysinfo directly
Fixes sysupgrade
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48558
Diffstat (limited to 'target/linux/octeon/base-files/lib/preinit/79_move_config')
-rw-r--r-- | target/linux/octeon/base-files/lib/preinit/79_move_config | 6 |
1 files changed, 1 insertions, 5 deletions
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 39cefd53db..669999e2e3 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 / |