diff options
author | Felix Fietkau <nbd@nbd.name> | 2017-03-17 16:56:40 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2017-03-22 11:43:22 +0100 |
commit | eb98bf605ebf193e0e5a634a983443ff554f2236 (patch) | |
tree | fe693e0549cabfb9aa8a234f6a0b67de30135222 /target/linux/pistachio/base-files/lib/upgrade | |
parent | 0d271cef8071d0698246b4b50a610b5ff718af01 (diff) | |
download | upstream-eb98bf605ebf193e0e5a634a983443ff554f2236.tar.gz upstream-eb98bf605ebf193e0e5a634a983443ff554f2236.tar.bz2 upstream-eb98bf605ebf193e0e5a634a983443ff554f2236.zip |
pistachio: remove pistachio_board_name, use the generic function
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/pistachio/base-files/lib/upgrade')
-rwxr-xr-x | target/linux/pistachio/base-files/lib/upgrade/platform.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/target/linux/pistachio/base-files/lib/upgrade/platform.sh b/target/linux/pistachio/base-files/lib/upgrade/platform.sh index 5a886fbee6..2ddac783f3 100755 --- a/target/linux/pistachio/base-files/lib/upgrade/platform.sh +++ b/target/linux/pistachio/base-files/lib/upgrade/platform.sh @@ -6,15 +6,13 @@ # See /LICENSE for more information. # -. /lib/pistachio.sh - RAMFS_COPY_BIN="/usr/sbin/fw_printenv /usr/sbin/fw_setenv /bin/mkdir /bin/dmesg /bin/sed /bin/grep" RAMFS_COPY_DATA="/etc/fw_env.config" REQUIRE_IMAGE_METADATA=0 platform_check_image() { - local board=$(pistachio_board_name) + local board=$(board_name) nand_do_platform_check $board $1 return $? @@ -32,7 +30,7 @@ platform_pre_upgrade() { } platform_nand_pre_upgrade() { - local board=$(pistachio_board_name) + local board=$(board_name) case "$board" in marduk) |